NtGdiGetObject
[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 /* Always target Windows 2003 Service Pack 1 */
12 #define _WIN32_WINNT _WIN32_WINNT_WS03
13 #define NTDDI_VERSION NTDDI_WS03SP1
14 #define NTKERNELAPI
15
16 /* DDK/IFS/NDK Headers */
17 #include <ntifs.h>
18 #undef _KPROCESS
19 #undef _EPROCESS
20 #include <wdmguid.h>
21 #include <arc/arc.h>
22 #include <ntndk.h>
23 #undef TEXT
24 #define TEXT(s) L##s
25 #include <regstr.h>
26
27 /* FIXME: Temporary until CC Ros is gone */
28 #include <ccros.h>
29 #include <rosldr.h>
30
31 /* Disk Dump Driver Header */
32 #include <diskdump/diskdump.h>
33
34 /* C Headers */
35 #include <stdio.h>
36 #include <ctype.h>
37 #include <malloc.h>
38 #include <wchar.h>
39
40 /* SEH support with PSEH */
41 #include <pseh/pseh.h>
42
43 /* ReactOS Headers */
44 #include <reactos/version.h>
45 #include <reactos/resource.h>
46 #include <reactos/bugcodes.h>
47 #include <reactos/rossym.h>
48 #define ExRaiseStatus RtlRaiseStatus
49 #include <reactos/probe.h>
50
51 /* SetupLDR Support */
52 #include <arc/setupblk.h>
53
54 /* PNP GUIDs */
55 #include <umpnpmgr/sysguid.h>
56
57 /* Helper Header */
58 #include <reactos/helper.h>
59
60 /* Internal Headers */
61 #include "internal/ntoskrnl.h"
62 #include "config.h"
63
64 //
65 // Define the internal versions of external and public global data
66 //
67 #define IoFileObjectType _IoFileObjectType
68 #define PsThreadType _PsThreadType
69 #define PsProcessType _PsProcessType
70 #define ExEventObjectType _ExEventObjectType
71 #define ExSemaphoreObjectType _ExSemaphoreObjectType
72 #define KdDebuggerEnabled _KdDebuggerEnabled
73 #define KdDebuggerNotPresent _KdDebuggerNotPresent
74 #define FsRtlLegalAnsiCharacterArray _FsRtlLegalAnsiCharacterArray
75 #undef LEGAL_ANSI_CHARACTER_ARRAY
76 #undef NLS_MB_CODE_PAGE_TAG
77 #undef NLS_OEM_LEAD_BYTE_INFO
78 #define LEGAL_ANSI_CHARACTER_ARRAY FsRtlLegalAnsiCharacterArray
79 #define NLS_MB_CODE_PAGE_TAG NlsMbOemCodePageTag
80 #define NLS_OEM_LEAD_BYTE_INFO NlsOemLeadByteInfo
81 #undef KD_DEBUGGER_ENABLED
82 #undef KD_DEBUGGER_NOT_PRESENT
83 #define KD_DEBUGGER_ENABLED KdDebuggerEnabled
84 #define KD_DEBUGGER_NOT_PRESENT KdDebuggerNotPresent
85 #define HalDispatchTable _HalDispatchTable
86 #undef HALDISPATCH
87 #define HALDISPATCH (&HalDispatchTable)