- Force using ReactOS's ntverp.h instead of the WDK.
[reactos.git] / reactos / ntoskrnl / include / ntoskrnl.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Kernel
4 * FILE: ntoskrnl/include/ntoskrnl.h
5 * PURPOSE: Main Kernel Header
6 * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
7 */
8
9 /* INCLUDES ******************************************************************/
10
11 /* Version Data */
12 #include <psdk/ntverp.h>
13 #define _WIN32_WINNT _WIN32_WINNT_WS03
14 #define NTDDI_VERSION NTDDI_WS03SP1
15
16 /* DDK/IFS/NDK Headers */
17 #ifdef _MSC_VER
18 #include <ntdef.h>
19 #undef DECLSPEC_IMPORT
20 #define DECLSPEC_IMPORT
21 #endif
22 #include <ntifs.h>
23 #include <wdmguid.h>
24 #include <arc/arc.h>
25 #include <ntndk.h>
26 #undef TEXT
27 #define TEXT(s) L##s
28 #include <regstr.h>
29
30 /* FIXME: Temporary until CC Ros is gone */
31 #include <ccros.h>
32 #include <rosldr.h>
33
34 /* Disk Dump Driver Header */
35 #include <diskdump/diskdump.h>
36
37 /* C Headers */
38 #include <stdlib.h>
39 #include <stdio.h>
40 #include <ctype.h>
41 #include <malloc.h>
42 #include <wchar.h>
43
44 /* SEH support with PSEH */
45 #include <pseh/pseh.h>
46
47 /* ReactOS Headers */
48 #include <reactos/buildno.h>
49 #include <reactos/bugcodes.h>
50 #define ExRaiseStatus RtlRaiseStatus
51 #include <reactos/probe.h>
52
53 /* SetupLDR Support */
54 #include <arc/setupblk.h>
55
56 /* KD Support */
57 #define NOEXTAPI
58 #include <windbgkd.h>
59 #include <wdbgexts.h>
60 #include <kddll.h>
61 #ifndef _WINKD_
62 #include <reactos/rossym.h>
63 #endif
64
65 /* PNP GUIDs */
66 #include <umpnpmgr/sysguid.h>
67
68 /* Helper Header */
69 #include <reactos/helper.h>
70
71 /* Internal Headers */
72 #include "internal/ntoskrnl.h"
73 #include "config.h"
74
75 //
76 // Define the internal versions of external and public global data
77 //
78 #define IoFileObjectType _IoFileObjectType
79 #define PsThreadType _PsThreadType
80 #define PsProcessType _PsProcessType
81 #define ExEventObjectType _ExEventObjectType
82 #define ExSemaphoreObjectType _ExSemaphoreObjectType
83 #define KdDebuggerEnabled _KdDebuggerEnabled
84 #define KdDebuggerNotPresent _KdDebuggerNotPresent
85 #define FsRtlLegalAnsiCharacterArray _FsRtlLegalAnsiCharacterArray
86 #undef LEGAL_ANSI_CHARACTER_ARRAY
87 #undef NLS_MB_CODE_PAGE_TAG
88 #undef NLS_OEM_LEAD_BYTE_INFO
89 #define LEGAL_ANSI_CHARACTER_ARRAY FsRtlLegalAnsiCharacterArray
90 #define NLS_MB_CODE_PAGE_TAG NlsMbOemCodePageTag
91 #define NLS_OEM_LEAD_BYTE_INFO NlsOemLeadByteInfo
92 #undef KD_DEBUGGER_ENABLED
93 #undef KD_DEBUGGER_NOT_PRESENT
94 #define KD_DEBUGGER_ENABLED KdDebuggerEnabled
95 #define KD_DEBUGGER_NOT_PRESENT KdDebuggerNotPresent
96 #define HalDispatchTable _HalDispatchTable
97 #undef HALDISPATCH
98 #define HALDISPATCH (&HalDispatchTable)