Merge PR #283 "[USBPORT] Transaction Translator (TT) support bringup"
[reactos.git] / sdk / include / xdk / winnt.template.h
1 /*
2 * winnt.h
3 *
4 * Windows NT native definitions for user mode
5 *
6 * This file is part of the ReactOS PSDK package.
7 *
8 * This file is auto-generated from ReactOS XDK.
9 *
10 * THIS SOFTWARE IS NOT COPYRIGHTED
11 *
12 * This source code is offered for use in the public domain. You may
13 * use, modify or distribute it freely.
14 *
15 * This code is distributed in the hope that it will be useful but
16 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
17 * DISCLAIMED. This includes but is not limited to warranties of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 *
20 */
21
22 #pragma once
23 #ifndef _WINNT_
24 #define _WINNT_
25
26 /* We require WDK / VS 2008 or newer */
27 #if defined(_MSC_VER) && (_MSC_VER < 1500)
28 #error Compiler too old!
29 #endif
30
31 #if defined(__LP64__) || (!defined(_M_AMD64) && defined(__WINESRC__))
32 #if !defined(__ROS_LONG64__)
33 #define __ROS_LONG64__
34 #endif
35 #endif
36
37 #include <ctype.h>
38 //#include <winapifamily.h>
39 #ifdef __GNUC__
40 #include <msvctarget.h>
41 #endif
42 #include <specstrings.h>
43 #include <kernelspecs.h>
44
45 #include <excpt.h>
46 #include <basetsd.h>
47 #include <guiddef.h>
48 #include <intrin.h>
49
50 #undef __need_wchar_t
51 #include <winerror.h>
52 #include <stddef.h>
53 #include <sdkddkver.h>
54 #ifndef RC_INVOKED
55 #include <string.h>
56 #endif
57
58 /* Silence some MSVC warnings */
59 #ifdef _MSC_VER
60 #pragma warning(push)
61 #pragma warning(disable:4201)
62 #pragma warning(disable:4214)
63 #endif
64
65 #ifdef __cplusplus
66 extern "C" {
67 #endif
68
69 $define(_WINNT_)
70 $define(ULONG=DWORD)
71 $define(USHORT=WORD)
72 $define(UCHAR=BYTE)
73 $include(ntbasedef.h)
74 $include(interlocked.h)
75 $include(ketypes.h)
76 $include(winnt_old.h)
77
78 #ifdef __cplusplus
79 } // extern "C"
80 #endif
81
82 #endif /* _WINNT_ */