ReactOS  0.4.15-dev-3165-gdf6fff7
winnt.template.h
Go to the documentation of this file.
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 
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_ */
$include(setypes.h) $include(obtypes.h) $include(rtltypes.h) $include(rtlfuncs.h) _IRQL_requires_max_(PASSIVE_LEVEL) __kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQueryObject(_In_opt_ HANDLE Handle
#define _WINNT_
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned char UCHAR
Definition: xmlstorage.h:181
$define(_NTDDK_) $include(extypes.h) $include(cmtypes.h) $include(iotypes.h) $include(haltypes.h) $include(ketypes.h) $include(kdtypes.h) $include(mmtypes.h) $include(pstypes.h) $include(rtltypes.h) $include(setypes.h) $include(exfuncs.h) $include(halfuncs.h) $include(iofuncs.h) $include(kdfuncs.h) $include(kefuncs.h) $include(mmfuncs.h) $include(psfuncs.h) $include(rtlfuncs.h) $include(sefuncs.h) $include(zwfuncs.h) NTSYSAPI ULONGLONG NTAPI VerSetConditionMask(IN ULONGLONG ConditionMask
unsigned char BYTE
Definition: xxhash.c:193
unsigned short USHORT
Definition: pedump.c:61
unsigned int ULONG
Definition: retypes.h:1