Added a few missing debug event definitions.

This commit is contained in:
Alexandre Julliard 1999-05-16 17:11:58 +00:00
parent 57e1131334
commit 1ab8c680a2
2 changed files with 19 additions and 11 deletions

View File

@ -22,19 +22,19 @@ typedef struct tagCOORD {
typedef DWORD (CALLBACK *LPTHREAD_START_ROUTINE)(LPVOID); typedef DWORD (CALLBACK *LPTHREAD_START_ROUTINE)(LPVOID);
/* This is also defined in winnt.h */ #define EXCEPTION_DEBUG_EVENT 1
/* typedef struct _EXCEPTION_RECORD { #define CREATE_THREAD_DEBUG_EVENT 2
DWORD ExceptionCode; #define CREATE_PROCESS_DEBUG_EVENT 3
DWORD ExceptionFlags; #define EXIT_THREAD_DEBUG_EVENT 4
struct _EXCEPTION_RECORD *ExceptionRecord; #define EXIT_PROCESS_DEBUG_EVENT 5
LPVOID ExceptionAddress; #define LOAD_DLL_DEBUG_EVENT 6
DWORD NumberParameters; #define UNLOAD_DLL_DEBUG_EVENT 7
DWORD ExceptionInformation[15]; #define OUTPUT_DEBUG_STRING_EVENT 8
} EXCEPTION_RECORD; */ #define RIP_EVENT 9
typedef struct _EXCEPTION_DEBUG_INFO { typedef struct _EXCEPTION_DEBUG_INFO {
/* EXCEPTION_RECORD ExceptionRecord; */ EXCEPTION_RECORD ExceptionRecord;
DWORD dwFirstChange; DWORD dwFirstChance;
} EXCEPTION_DEBUG_INFO; } EXCEPTION_DEBUG_INFO;
typedef struct _CREATE_THREAD_DEBUG_INFO { typedef struct _CREATE_THREAD_DEBUG_INFO {

View File

@ -352,6 +352,14 @@ DWORD WINAPI UnhandledExceptionFilter( PEXCEPTION_POINTERS epointers );
LPTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER
WINAPI SetUnhandledExceptionFilter( LPTOP_LEVEL_EXCEPTION_FILTER filter ); WINAPI SetUnhandledExceptionFilter( LPTOP_LEVEL_EXCEPTION_FILTER filter );
/* status values for ContinueDebugEvent */
#define DBG_CONTINUE 0x00010002
#define DBG_TERMINATE_THREAD 0x40010003
#define DBG_TERMINATE_PROCESS 0x40010004
#define DBG_CONTROL_C 0x40010005
#define DBG_CONTROL_BREAK 0x40010008
#define DBG_EXCEPTION_NOT_HANDLED 0x80010001
/* /*
* Here follows typedefs for security and tokens. * Here follows typedefs for security and tokens.
*/ */