Added a few missing debug event definitions.
diff --git a/include/winbase.h b/include/winbase.h
index 419ed96..ed29e1d 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -22,19 +22,19 @@
typedef DWORD (CALLBACK *LPTHREAD_START_ROUTINE)(LPVOID);
-/* This is also defined in winnt.h */
-/* typedef struct _EXCEPTION_RECORD {
- DWORD ExceptionCode;
- DWORD ExceptionFlags;
- struct _EXCEPTION_RECORD *ExceptionRecord;
- LPVOID ExceptionAddress;
- DWORD NumberParameters;
- DWORD ExceptionInformation[15];
-} EXCEPTION_RECORD; */
+#define EXCEPTION_DEBUG_EVENT 1
+#define CREATE_THREAD_DEBUG_EVENT 2
+#define CREATE_PROCESS_DEBUG_EVENT 3
+#define EXIT_THREAD_DEBUG_EVENT 4
+#define EXIT_PROCESS_DEBUG_EVENT 5
+#define LOAD_DLL_DEBUG_EVENT 6
+#define UNLOAD_DLL_DEBUG_EVENT 7
+#define OUTPUT_DEBUG_STRING_EVENT 8
+#define RIP_EVENT 9
typedef struct _EXCEPTION_DEBUG_INFO {
-/* EXCEPTION_RECORD ExceptionRecord; */
- DWORD dwFirstChange;
+ EXCEPTION_RECORD ExceptionRecord;
+ DWORD dwFirstChance;
} EXCEPTION_DEBUG_INFO;
typedef struct _CREATE_THREAD_DEBUG_INFO {
diff --git a/include/winnt.h b/include/winnt.h
index 113f92b..9a8a29e 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -352,6 +352,14 @@
LPTOP_LEVEL_EXCEPTION_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.
*/