- Fix incompatible IO_STACK_LOCATION definition in W32api ddk/winddk.k
[reactos.git] / reactos / w32api / 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 <ntdef.h>
37 #include <basetyps.h>
38
39 /* Base types, structures and definitions */
40 typedef short CSHORT;
41 typedef CONST int CINT;
42 typedef CONST char *PCSZ;
43
44 #ifndef STATIC
45 #define STATIC static
46 #endif
47
48 #ifndef CALLBACK
49 #define CALLBACK
50 #endif
51
52 #ifndef DECL_IMPORT
53 #define DECL_IMPORT __declspec(dllimport)
54 #endif
55
56 #ifndef DECL_EXPORT
57 #define DECL_EXPORT __declspec(dllexport)
58 #endif
59
60 /* Windows NT status codes */
61 #include "ntstatus.h"
62
63 /* Windows NT definitions exported to user mode */
64 #include <winnt.h>
65
66 /* Windows Device Driver Kit */
67 #include "winddk.h"
68
69 /* Definitions only in Windows XP */
70 #include "winxp.h"
71
72 /* Definitions only in Windows 2000 */
73 #include "win2k.h"
74
75 /* Definitions only in Windows NT 4 */
76 #include "winnt4.h"
77
78 #endif /* __NTDDK_H */