- Fix KiDispatchException to unmask KI_EXCEPTION_INTERNAL when setting the exception...
[reactos.git] / reactos / ntoskrnl / include / ntoskrnl.h
index db7a731..ba53306 100644 (file)
@@ -8,11 +8,19 @@
 
 /* INCLUDES ******************************************************************/
 
-/* Tells the WDK that we don't want to import */
+/* Version Data */
+#include <ntverp.h>
+#define _WIN32_WINNT _WIN32_WINNT_WS03
+#define NTDDI_VERSION NTDDI_WS03SP1
 #define NTKERNELAPI
+#define NOEXTAPI
 
 /* DDK/IFS/NDK Headers */
+#define NTKERNELAPI
+#define NOEXTAPI
 #include <ntifs.h>
+#undef _KPROCESS
+#undef _EPROCESS
 #include <wdmguid.h>
 #include <arc/arc.h>
 #include <ntndk.h>
 #include <pseh/pseh.h>
 
 /* ReactOS Headers */
-#include <reactos/version.h>
-#include <reactos/resource.h>
+#include <reactos/buildno.h>
 #include <reactos/bugcodes.h>
-#include <reactos/rossym.h>
 #define ExRaiseStatus RtlRaiseStatus
 #include <reactos/probe.h>
+#include <reactos/rossym.h>
 
 /* SetupLDR Support */
 #include <arc/setupblk.h>
 
+/* KD Support */
+#include <windbgkd.h>
+#include <wdbgexts.h>
+#include <kddll.h>
+
 /* PNP GUIDs */
 #include <umpnpmgr/sysguid.h>
 
@@ -62,6 +74,9 @@
 //
 #define IoFileObjectType                _IoFileObjectType
 #define PsThreadType                    _PsThreadType
+#define PsProcessType                   _PsProcessType
+#define ExEventObjectType               _ExEventObjectType
+#define ExSemaphoreObjectType           _ExSemaphoreObjectType
 #define KdDebuggerEnabled               _KdDebuggerEnabled
 #define KdDebuggerNotPresent            _KdDebuggerNotPresent
 #define FsRtlLegalAnsiCharacterArray    _FsRtlLegalAnsiCharacterArray