Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8555e948
Commit
8555e948
authored
May 05, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Move Wer* function stubs to kernelbase.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b6c94018
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
101 additions
and
110 deletions
+101
-110
Makefile.in
dlls/kernel32/Makefile.in
+1
-2
kernel32.spec
dlls/kernel32/kernel32.spec
+8
-8
wer.c
dlls/kernel32/wer.c
+0
-92
debug.c
dlls/kernelbase/debug.c
+82
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+8
-8
werapi.h
include/werapi.h
+2
-0
No files found.
dlls/kernel32/Makefile.in
View file @
8555e948
...
@@ -37,8 +37,7 @@ C_SRCS = \
...
@@ -37,8 +37,7 @@ C_SRCS = \
toolhelp.c
\
toolhelp.c
\
version.c
\
version.c
\
virtual.c
\
virtual.c
\
volume.c
\
volume.c
wer.c
RC_SRCS
=
\
RC_SRCS
=
\
locale_rc.rc
\
locale_rc.rc
\
...
...
dlls/kernel32/kernel32.spec
View file @
8555e948
...
@@ -1589,14 +1589,14 @@
...
@@ -1589,14 +1589,14 @@
@ stdcall -import WaitNamedPipeW (wstr long)
@ stdcall -import WaitNamedPipeW (wstr long)
@ stdcall WakeAllConditionVariable(ptr) ntdll.RtlWakeAllConditionVariable
@ stdcall WakeAllConditionVariable(ptr) ntdll.RtlWakeAllConditionVariable
@ stdcall WakeConditionVariable(ptr) ntdll.RtlWakeConditionVariable
@ stdcall WakeConditionVariable(ptr) ntdll.RtlWakeConditionVariable
# @ stub WerGetFlags
@ stdcall -import WerGetFlags(ptr ptr)
@ stdcall WerRegisterFile(wstr long long)
@ stdcall
-import
WerRegisterFile(wstr long long)
@ stdcall WerRegisterMemoryBlock(ptr long)
@ stdcall
-import
WerRegisterMemoryBlock(ptr long)
@ stdcall WerRegisterRuntimeExceptionModule(wstr ptr)
@ stdcall
-import
WerRegisterRuntimeExceptionModule(wstr ptr)
@ stdcall WerSetFlags(long)
@ stdcall
-import
WerSetFlags(long)
# @ stub WerUnregisterFile
@ stdcall -import WerUnregisterFile(wstr)
@ stdcall WerUnregisterMemoryBlock(ptr)
@ stdcall
-import
WerUnregisterMemoryBlock(ptr)
@ stdcall WerUnregisterRuntimeExceptionModule(wstr ptr)
@ stdcall
-import
WerUnregisterRuntimeExceptionModule(wstr ptr)
# @ stub WerpCleanupMessageMapping
# @ stub WerpCleanupMessageMapping
# @ stub WerpInitiateRemoteRecovery
# @ stub WerpInitiateRemoteRecovery
# @ stub WerpNotifyLoadStringResource
# @ stub WerpNotifyLoadStringResource
...
...
dlls/kernel32/wer.c
deleted
100644 → 0
View file @
b6c94018
/*
* Windows Error Reporting functions
*
* Copyright 2010 Louis Lenders
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "werapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wer
);
/***********************************************************************
* WerRegisterFile (KERNEL32.@)
*
* Register a file to be included in WER error report.
*/
HRESULT
WINAPI
WerRegisterFile
(
PCWSTR
file
,
WER_REGISTER_FILE_TYPE
regfiletype
,
DWORD
flags
)
{
FIXME
(
"(%s, %d, %d) stub!
\n
"
,
debugstr_w
(
file
),
regfiletype
,
flags
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerRegisterRuntimeExceptionModule (KERNEL32.@)
*
* Register a custom runtime exception handler.
*/
HRESULT
WINAPI
WerRegisterRuntimeExceptionModule
(
PCWSTR
callbackdll
,
PVOID
context
)
{
FIXME
(
"(%s, %p) stub!
\n
"
,
debugstr_w
(
callbackdll
),
context
);
return
S_OK
;
}
/***********************************************************************
* WerSetFlags (KERNEL32.@)
*
* Sets error reporting flags for the current process.
*/
HRESULT
WINAPI
WerSetFlags
(
DWORD
flags
)
{
FIXME
(
"(%d) stub!
\n
"
,
flags
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerRegisterMemoryBlock (KERNEL32.@)
*/
HRESULT
WINAPI
WerRegisterMemoryBlock
(
void
*
block
,
DWORD
size
)
{
FIXME
(
"(%p %d) stub
\n
"
,
block
,
size
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerUnregisterMemoryBlock (KERNEL32.@)
*/
HRESULT
WINAPI
WerUnregisterMemoryBlock
(
void
*
block
)
{
FIXME
(
"(%p) stub
\n
"
,
block
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerUnregisterRuntimeExceptionModule (KERNEL32.@)
*/
HRESULT
WINAPI
WerUnregisterRuntimeExceptionModule
(
PCWSTR
callbackdll
,
PVOID
context
)
{
FIXME
(
"(%s, %p) stub!
\n
"
,
debugstr_w
(
callbackdll
),
context
);
return
S_OK
;
}
dlls/kernelbase/debug.c
View file @
8555e948
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include "winternl.h"
#include "winternl.h"
#include "wingdi.h"
#include "wingdi.h"
#include "winuser.h"
#include "winuser.h"
#include "werapi.h"
#include "wine/exception.h"
#include "wine/exception.h"
#include "wine/server.h"
#include "wine/server.h"
...
@@ -767,3 +768,84 @@ LONG WINAPI UnhandledExceptionFilter( EXCEPTION_POINTERS *epointers )
...
@@ -767,3 +768,84 @@ LONG WINAPI UnhandledExceptionFilter( EXCEPTION_POINTERS *epointers )
}
}
return
EXCEPTION_CONTINUE_SEARCH
;
return
EXCEPTION_CONTINUE_SEARCH
;
}
}
/***********************************************************************
* WerGetFlags (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
WerGetFlags
(
HANDLE
process
,
DWORD
*
flags
)
{
FIXME
(
"(%p, %p) stub
\n
"
,
process
,
flags
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerRegisterFile (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
WerRegisterFile
(
const
WCHAR
*
file
,
WER_REGISTER_FILE_TYPE
type
,
DWORD
flags
)
{
FIXME
(
"(%s, %d, %d) stub
\n
"
,
debugstr_w
(
file
),
type
,
flags
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerRegisterMemoryBlock (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
WerRegisterMemoryBlock
(
void
*
block
,
DWORD
size
)
{
FIXME
(
"(%p %d) stub
\n
"
,
block
,
size
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerRegisterRuntimeExceptionModule (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
WerRegisterRuntimeExceptionModule
(
const
WCHAR
*
dll
,
void
*
context
)
{
FIXME
(
"(%s, %p) stub
\n
"
,
debugstr_w
(
dll
),
context
);
return
S_OK
;
}
/***********************************************************************
* WerSetFlags (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
WerSetFlags
(
DWORD
flags
)
{
FIXME
(
"(%d) stub
\n
"
,
flags
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerUnregisterFile (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
WerUnregisterFile
(
const
WCHAR
*
file
)
{
FIXME
(
"(%s) stub
\n
"
,
debugstr_w
(
file
)
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerUnregisterMemoryBlock (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
WerUnregisterMemoryBlock
(
void
*
block
)
{
FIXME
(
"(%p) stub
\n
"
,
block
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerUnregisterRuntimeExceptionModule (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
WerUnregisterRuntimeExceptionModule
(
const
WCHAR
*
dll
,
void
*
context
)
{
FIXME
(
"(%s, %p) stub
\n
"
,
debugstr_w
(
dll
),
context
);
return
S_OK
;
}
dlls/kernelbase/kernelbase.spec
View file @
8555e948
...
@@ -1701,14 +1701,14 @@
...
@@ -1701,14 +1701,14 @@
@ stdcall WakeByAddressAll(ptr) ntdll.RtlWakeAddressAll
@ stdcall WakeByAddressAll(ptr) ntdll.RtlWakeAddressAll
@ stdcall WakeByAddressSingle(ptr) ntdll.RtlWakeAddressSingle
@ stdcall WakeByAddressSingle(ptr) ntdll.RtlWakeAddressSingle
@ stdcall WakeConditionVariable(ptr) ntdll.RtlWakeConditionVariable
@ stdcall WakeConditionVariable(ptr) ntdll.RtlWakeConditionVariable
# @ stub WerGetFlags
@ stdcall WerGetFlags(ptr ptr)
@ stdcall WerRegisterFile(wstr long long)
kernel32.WerRegisterFile
@ stdcall WerRegisterFile(wstr long long)
@ stdcall WerRegisterMemoryBlock(ptr long)
kernel32.WerRegisterMemoryBlock
@ stdcall WerRegisterMemoryBlock(ptr long)
@ stdcall WerRegisterRuntimeExceptionModule(wstr ptr)
kernel32.WerRegisterRuntimeExceptionModule
@ stdcall WerRegisterRuntimeExceptionModule(wstr ptr)
@ stdcall WerSetFlags(long)
kernel32.WerSetFlags
@ stdcall WerSetFlags(long)
# @ stub WerUnregisterFile
@ stdcall WerUnregisterFile(wstr)
@ stdcall WerUnregisterMemoryBlock(ptr)
kernel32.WerUnregisterMemoryBlock
@ stdcall WerUnregisterMemoryBlock(ptr)
@ stdcall WerUnregisterRuntimeExceptionModule(wstr ptr)
kernel32.WerUnregisterRuntimeExceptionModule
@ stdcall WerUnregisterRuntimeExceptionModule(wstr ptr)
# @ stub WerpNotifyLoadStringResource
# @ stub WerpNotifyLoadStringResource
# @ stub WerpNotifyUseStringResource
# @ stub WerpNotifyUseStringResource
@ stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr)
@ stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr)
...
...
include/werapi.h
View file @
8555e948
...
@@ -174,6 +174,7 @@ typedef struct _WER_EXCEPTION_INFORMATION
...
@@ -174,6 +174,7 @@ typedef struct _WER_EXCEPTION_INFORMATION
/* #### */
/* #### */
HRESULT
WINAPI
WerAddExcludedApplication
(
PCWSTR
,
BOOL
);
HRESULT
WINAPI
WerAddExcludedApplication
(
PCWSTR
,
BOOL
);
HRESULT
WINAPI
WerGetFlags
(
HANDLE
process
,
DWORD
*
flags
);
HRESULT
WINAPI
WerRegisterFile
(
PCWSTR
file
,
WER_REGISTER_FILE_TYPE
regfiletype
,
DWORD
flags
);
HRESULT
WINAPI
WerRegisterFile
(
PCWSTR
file
,
WER_REGISTER_FILE_TYPE
regfiletype
,
DWORD
flags
);
HRESULT
WINAPI
WerRegisterMemoryBlock
(
void
*
block
,
DWORD
size
);
HRESULT
WINAPI
WerRegisterMemoryBlock
(
void
*
block
,
DWORD
size
);
HRESULT
WINAPI
WerRegisterRuntimeExceptionModule
(
PCWSTR
callbackdll
,
void
*
context
);
HRESULT
WINAPI
WerRegisterRuntimeExceptionModule
(
PCWSTR
callbackdll
,
void
*
context
);
...
@@ -185,6 +186,7 @@ HRESULT WINAPI WerReportSetParameter(HREPORT, DWORD, PCWSTR, PCWSTR);
...
@@ -185,6 +186,7 @@ HRESULT WINAPI WerReportSetParameter(HREPORT, DWORD, PCWSTR, PCWSTR);
HRESULT
WINAPI
WerReportSetUIOption
(
HREPORT
,
WER_REPORT_UI
,
PCWSTR
);
HRESULT
WINAPI
WerReportSetUIOption
(
HREPORT
,
WER_REPORT_UI
,
PCWSTR
);
HRESULT
WINAPI
WerReportSubmit
(
HREPORT
,
WER_CONSENT
,
DWORD
,
PWER_SUBMIT_RESULT
);
HRESULT
WINAPI
WerReportSubmit
(
HREPORT
,
WER_CONSENT
,
DWORD
,
PWER_SUBMIT_RESULT
);
HRESULT
WINAPI
WerSetFlags
(
DWORD
flags
);
HRESULT
WINAPI
WerSetFlags
(
DWORD
flags
);
HRESULT
WINAPI
WerUnregisterFile
(
PCWSTR
file
);
HRESULT
WINAPI
WerUnregisterMemoryBlock
(
void
*
block
);
HRESULT
WINAPI
WerUnregisterMemoryBlock
(
void
*
block
);
HRESULT
WINAPI
WerUnregisterRuntimeExceptionModule
(
PCWSTR
callbackdll
,
void
*
context
);
HRESULT
WINAPI
WerUnregisterRuntimeExceptionModule
(
PCWSTR
callbackdll
,
void
*
context
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment