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
97479d3d
Commit
97479d3d
authored
Oct 07, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move some exception definitions to winternl.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dc3a240a
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
33 additions
and
63 deletions
+33
-63
store.c
dlls/crypt32/store.c
+0
-1
coff.c
dlls/dbghelp/coff.c
+0
-1
dsurface.c
dlls/ddraw/tests/dsurface.c
+0
-1
console.c
dlls/kernel32/console.c
+0
-2
file.c
dlls/kernel32/file.c
+0
-1
module.c
dlls/kernel32/module.c
+0
-1
process.c
dlls/kernel32/process.c
+0
-1
instr.c
dlls/krnl386.exe16/instr.c
+0
-1
int21.c
dlls/krnl386.exe16/int21.c
+0
-1
int31.c
dlls/krnl386.exe16/int31.c
+0
-1
msvcp140_1.c
dlls/msvcp140_1/tests/msvcp140_1.c
+0
-2
misc.c
dlls/msvcp90/misc.c
+1
-1
except.c
dlls/msvcrt/except.c
+0
-1
process.c
dlls/ntdll/unix/process.c
+0
-1
sync.c
dlls/ntdll/unix/sync.c
+0
-1
thread.c
dlls/ntdll/unix/thread.c
+0
-1
instr.c
dlls/ntoskrnl.exe/instr.c
+0
-1
lstr.c
dlls/user32/lstr.c
+0
-2
png.c
dlls/user32/png.c
+0
-1
main.c
dlls/win32u/main.c
+0
-1
internet.c
dlls/wininet/internet.c
+0
-2
cpu.c
dlls/wow64cpu/cpu.c
+0
-1
ws2_32_private.h
dlls/ws2_32/ws2_32_private.h
+0
-1
exception.h
include/wine/exception.h
+1
-31
winternl.h
include/winternl.h
+31
-0
gdbproxy.c
programs/winedbg/gdbproxy.c
+0
-1
info.c
programs/winedbg/info.c
+0
-1
tgt_active.c
programs/winedbg/tgt_active.c
+0
-1
winedbg.c
programs/winedbg/winedbg.c
+0
-2
No files found.
dlls/crypt32/store.c
View file @
97479d3d
...
...
@@ -33,7 +33,6 @@
#include "winuser.h"
#include "wincrypt.h"
#include "wine/debug.h"
#include "wine/exception.h"
#include "crypt32_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
crypt
);
...
...
dlls/dbghelp/coff.c
View file @
97479d3d
...
...
@@ -41,7 +41,6 @@
#include "winbase.h"
#include "winternl.h"
#include "wine/exception.h"
#include "wine/debug.h"
#include "dbghelp_private.h"
#include "wine/mscvpdb.h"
...
...
dlls/ddraw/tests/dsurface.c
View file @
97479d3d
...
...
@@ -24,7 +24,6 @@
#define COBJMACROS
#include "wine/test.h"
#include "wine/exception.h"
#include "ddraw.h"
#include "d3d.h"
#include "unknwn.h"
...
...
dlls/kernel32/console.c
View file @
97479d3d
...
...
@@ -38,9 +38,7 @@
#include "winerror.h"
#include "wincon.h"
#include "wine/condrv.h"
#include "wine/exception.h"
#include "wine/debug.h"
#include "excpt.h"
#include "kernel_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
console
);
...
...
dlls/kernel32/file.c
View file @
97479d3d
...
...
@@ -39,7 +39,6 @@
#include "fileapi.h"
#include "shlwapi.h"
#include "wine/exception.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
file
);
...
...
dlls/kernel32/module.c
View file @
97479d3d
...
...
@@ -34,7 +34,6 @@
#include "kernel_private.h"
#include "psapi.h"
#include "wine/exception.h"
#include "wine/list.h"
#include "wine/asm.h"
#include "wine/debug.h"
...
...
dlls/kernel32/process.c
View file @
97479d3d
...
...
@@ -35,7 +35,6 @@
#include "kernel_private.h"
#include "psapi.h"
#include "ddk/wdm.h"
#include "wine/exception.h"
#include "wine/asm.h"
#include "wine/debug.h"
...
...
dlls/krnl386.exe16/instr.c
View file @
97479d3d
...
...
@@ -30,7 +30,6 @@
#include "wine/debug.h"
#include "kernel16_private.h"
#include "dosexe.h"
#include "wine/exception.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
int
);
WINE_DECLARE_DEBUG_CHANNEL
(
io
);
...
...
dlls/krnl386.exe16/int21.c
View file @
97479d3d
...
...
@@ -38,7 +38,6 @@
#include "winerror.h"
#include "winuser.h"
#include "wine/debug.h"
#include "wine/exception.h"
/*
* Note:
...
...
dlls/krnl386.exe16/int31.c
View file @
97479d3d
...
...
@@ -30,7 +30,6 @@
#include "excpt.h"
#include "wine/debug.h"
#include "wine/exception.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
int31
);
...
...
dlls/msvcp140_1/tests/msvcp140_1.c
View file @
97479d3d
...
...
@@ -24,8 +24,6 @@
#include "winnls.h"
#include "wine/test.h"
#include "wine/exception.h"
#include "winbase.h"
typedef
unsigned
char
MSVCP_bool
;
...
...
dlls/msvcp90/misc.c
View file @
97479d3d
...
...
@@ -26,7 +26,7 @@
#include "winbase.h"
#include "winternl.h"
#include "wine/debug.h"
#include "wine/exception.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcp
);
#if _MSVCP_VER >= 110
...
...
dlls/msvcrt/except.c
View file @
97479d3d
...
...
@@ -31,7 +31,6 @@
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "wine/exception.h"
#include "msvcrt.h"
#include "excpt.h"
#include "wincon.h"
...
...
dlls/ntdll/unix/process.c
View file @
97479d3d
...
...
@@ -61,7 +61,6 @@
#include "winioctl.h"
#include "unix_private.h"
#include "wine/condrv.h"
#include "wine/exception.h"
#include "wine/server.h"
#include "wine/debug.h"
...
...
dlls/ntdll/unix/sync.c
View file @
97479d3d
...
...
@@ -69,7 +69,6 @@
#include "winternl.h"
#include "ddk/wdm.h"
#include "wine/server.h"
#include "wine/exception.h"
#include "wine/debug.h"
#include "unix_private.h"
...
...
dlls/ntdll/unix/thread.c
View file @
97479d3d
...
...
@@ -67,7 +67,6 @@
#include "ddk/wdm.h"
#include "wine/server.h"
#include "wine/debug.h"
#include "wine/exception.h"
#include "unix_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
thread
);
...
...
dlls/ntoskrnl.exe/instr.c
View file @
97479d3d
...
...
@@ -31,7 +31,6 @@
#include "ddk/wdm.h"
#include "excpt.h"
#include "wine/debug.h"
#include "wine/exception.h"
#define KSHARED_USER_DATA_PAGE_SIZE 0x1000
...
...
dlls/user32/lstr.c
View file @
97479d3d
...
...
@@ -32,8 +32,6 @@
#include "winuser.h"
#include "winerror.h"
#include "wine/exception.h"
/***********************************************************************
* CharNextExW (USER32.@)
...
...
dlls/user32/png.c
View file @
97479d3d
...
...
@@ -42,7 +42,6 @@
#include "winerror.h"
#include "winnls.h"
#include "winternl.h"
#include "wine/exception.h"
#include "wine/server.h"
#include "controls.h"
#include "win.h"
...
...
dlls/win32u/main.c
View file @
97479d3d
...
...
@@ -26,7 +26,6 @@
#include "winbase.h"
#include "winnt.h"
#include "winternl.h"
#include "wine/exception.h"
#include "wine/unixlib.h"
extern
void
*
__wine_syscall_dispatcher
DECLSPEC_HIDDEN
;
...
...
dlls/wininet/internet.c
View file @
97479d3d
...
...
@@ -52,8 +52,6 @@
#include "iphlpapi.h"
#include "dhcpcsdk.h"
#include "wine/exception.h"
#include "internet.h"
#include "resource.h"
...
...
dlls/wow64cpu/cpu.c
View file @
97479d3d
...
...
@@ -26,7 +26,6 @@
#include "winnt.h"
#include "winternl.h"
#include "wine/asm.h"
#include "wine/exception.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wow
);
...
...
dlls/ws2_32/ws2_32_private.h
View file @
97479d3d
...
...
@@ -50,7 +50,6 @@
#include "ip2string.h"
#include "wine/afd.h"
#include "wine/debug.h"
#include "wine/exception.h"
#include "wine/unixlib.h"
#define DECLARE_CRITICAL_SECTION(cs) \
...
...
include/wine/exception.h
View file @
97479d3d
...
...
@@ -22,6 +22,7 @@
#define __WINE_WINE_EXCEPTION_H
#include <windef.h>
#include <winternl.h>
#include <excpt.h>
#ifdef __cplusplus
...
...
@@ -286,37 +287,6 @@ static inline EXCEPTION_REGISTRATION_RECORD *__wine_get_frame(void)
#endif
}
/* Exception handling flags - from OS/2 2.0 exception handling */
/* Win32 seems to use the same flags as ExceptionFlags in an EXCEPTION_RECORD */
#define EH_NONCONTINUABLE 0x01
#define EH_UNWINDING 0x02
#define EH_EXIT_UNWIND 0x04
#define EH_STACK_INVALID 0x08
#define EH_NESTED_CALL 0x10
#define EH_TARGET_UNWIND 0x20
#define EH_COLLIDED_UNWIND 0x40
/* Wine-specific exceptions codes */
#define EXCEPTION_WINE_STUB 0x80000100
/* stub entry point called */
#define EXCEPTION_WINE_ASSERTION 0x80000101
/* assertion failed */
/* Wine extension; Windows doesn't have a name for this code. This is an
undocumented exception understood by MS VC debugger, allowing the program
to name a particular thread. Search google.com or deja.com for "0x406d1388"
for more info. */
#define EXCEPTION_WINE_NAME_THREAD 0x406D1388
/* used for C++ exceptions in msvcrt
* parameters:
* [0] CXX_FRAME_MAGIC
* [1] pointer to exception object
* [2] pointer to type
*/
#define EXCEPTION_WINE_CXX_EXCEPTION 0xe06d7363
#define EXCEPTION_WINE_CXX_FRAME_MAGIC 0x19930520
#ifdef __cplusplus
}
#endif
...
...
include/winternl.h
View file @
97479d3d
...
...
@@ -3438,6 +3438,37 @@ typedef struct _RTL_PROCESS_MODULE_INFORMATION_EX
#define THREAD_CREATE_FLAGS_ACCESS_CHECK_IN_TARGET 0x00000020
#define THREAD_CREATE_FLAGS_INITIAL_THREAD 0x00000080
#define EH_NONCONTINUABLE 0x01
#define EH_UNWINDING 0x02
#define EH_EXIT_UNWIND 0x04
#define EH_STACK_INVALID 0x08
#define EH_NESTED_CALL 0x10
#define EH_TARGET_UNWIND 0x20
#define EH_COLLIDED_UNWIND 0x40
#ifdef __WINESRC__
/* Wine-specific exceptions codes */
#define EXCEPTION_WINE_STUB 0x80000100
/* stub entry point called */
#define EXCEPTION_WINE_ASSERTION 0x80000101
/* assertion failed */
/* Wine extension; Windows doesn't have a name for this code. This is an
undocumented exception understood by MS VC debugger, allowing the program
to name a particular thread. */
#define EXCEPTION_WINE_NAME_THREAD 0x406D1388
/* used for C++ exceptions in msvcrt
* parameters:
* [0] CXX_FRAME_MAGIC
* [1] pointer to exception object
* [2] pointer to type
*/
#define EXCEPTION_WINE_CXX_EXCEPTION 0xe06d7363
#define EXCEPTION_WINE_CXX_FRAME_MAGIC 0x19930520
#endif
typedef
LONG
(
CALLBACK
*
PRTL_EXCEPTION_FILTER
)(
PEXCEPTION_POINTERS
);
typedef
void
(
CALLBACK
*
PTP_IO_CALLBACK
)(
PTP_CALLBACK_INSTANCE
,
void
*
,
void
*
,
IO_STATUS_BLOCK
*
,
PTP_IO
);
...
...
programs/winedbg/gdbproxy.c
View file @
97479d3d
...
...
@@ -39,7 +39,6 @@
#include "winbase.h"
#include "winsock2.h"
#include "tlhelp32.h"
#include "wine/exception.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
winedbg
);
...
...
programs/winedbg/info.c
View file @
97479d3d
...
...
@@ -29,7 +29,6 @@
#include "winuser.h"
#include "tlhelp32.h"
#include "wine/debug.h"
#include "wine/exception.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
winedbg
);
...
...
programs/winedbg/tgt_active.c
View file @
97479d3d
...
...
@@ -28,7 +28,6 @@
#include "resource.h"
#include "winternl.h"
#include "wine/debug.h"
#include "wine/exception.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
winedbg
);
...
...
programs/winedbg/winedbg.c
View file @
97479d3d
...
...
@@ -23,8 +23,6 @@
#include "debugger.h"
#include "winternl.h"
#include "wine/exception.h"
#include "wine/debug.h"
/* TODO list:
...
...
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