- Fix KiDispatchException to unmask KI_EXCEPTION_INTERNAL when setting the exception...
[reactos.git] / reactos / include / ddk / ntddk.h
1 /*
2 * ntddk.h
3 *
4 * Windows Device Driver Kit
5 *
6 * This file is part of the w32api package.
7 *
8 * Contributors:
9 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
10 *
11 * THIS SOFTWARE IS NOT COPYRIGHTED
12 *
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
15 *
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAIMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 *
21 * DEFINES:
22 * DBG - Debugging enabled/disabled (0/1)
23 * POOL_TAGGING - Enable pool tagging
24 * _X86_ - X86 environment
25 */
26
27 #ifndef __NTDDK_H
28 #define __NTDDK_H
29
30 #if __GNUC__ >=3
31 #pragma GCC system_header
32 #endif
33
34 #include <stdarg.h>
35 #include <windef.h>
36 #include <excpt.h>
37 #include <ntdef.h>
38 #include <basetyps.h>
39
40 /* Base types, structures and definitions */
41 typedef short CSHORT;
42 typedef ULONG CLONG;
43 typedef CCHAR *PCCHAR;
44 typedef CSHORT *PCSHORT;
45 typedef CLONG *PCLONG;
46 typedef CONST int CINT;
47 typedef CONST char *PCSZ;
48
49 #ifndef STATIC
50 #define STATIC static
51 #endif
52
53 #ifndef CALLBACK
54 #define CALLBACK
55 #endif
56
57 #ifndef DECL_IMPORT
58 #define DECL_IMPORT __declspec(dllimport)
59 #endif
60
61 #ifndef DECL_EXPORT
62 #define DECL_EXPORT __declspec(dllexport)
63 #endif
64
65 /* Windows NT status codes */
66 #include "ntstatus.h"
67
68 /* Windows NT definitions exported to user mode */
69 #include <winnt.h>
70
71 /* Windows Device Driver Kit */
72 #include "winddk.h"
73
74 /* Definitions only in Windows XP */
75 #include "winxp.h"
76
77 /* Definitions only in Windows 2000 */
78 #include "win2k.h"
79
80 /* Definitions only in Windows NT 4 */
81 #include "winnt4.h"
82
83 #endif /* __NTDDK_H */