ReactOS 0.4.16-dev-1946-g52006dd
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#include <ctype.h>
32//#include <winapifamily.h>
33#ifdef __GNUC__
34#include <msvctarget.h>
35#endif
36#include <specstrings.h>
37#include <kernelspecs.h>
38
39#include <excpt.h>
40#include <basetsd.h>
41#include <guiddef.h>
42#include <intrin.h>
43
44#undef __need_wchar_t
45#include <winerror.h>
46#include <stddef.h>
47#include <sdkddkver.h>
48#ifndef RC_INVOKED
49#include <string.h>
50#endif
51
52/* Silence some MSVC warnings */
53#ifdef _MSC_VER
54#pragma warning(push)
55#pragma warning(disable:4201)
56#pragma warning(disable:4214)
57#endif
58
59#ifndef DECLSPEC_NOINITALL
60#if defined(_MSC_VER) && (!defined(__clang__) || (__clang_major__ >= 22)) && \
61 (_MSC_VER >= 1915) && !defined(MIDL_PASS) && !defined(SORTPP_PASS) && !defined(RC_INVOKED)
62#define DECLSPEC_NOINITALL __pragma(warning(push)) __pragma(warning(disable:4845)) __declspec(no_init_all) __pragma(warning(pop))
63#else
64#define DECLSPEC_NOINITALL
65#endif
66#endif
67
68#ifdef __cplusplus
69extern "C" {
70#endif
71
76$include(ntbasedef.h)
77$include(memaccess.h)
78$include(interlocked.h)
79$include(ketypes.h)
80$include(extypes.h)
81$include(rtltypes.h)
82$include(rtlfuncs.h)
83$include(winnt_old.h)
84
85#ifdef __cplusplus
86} // extern "C"
87#endif
88
89#endif /* _WINNT_ */
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
$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
$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
unsigned short USHORT
Definition: pedump.c:61
uint32_t ULONG
Definition: typedefs.h:59
#define _WINNT_
unsigned char UCHAR
Definition: xmlstorage.h:181
unsigned char BYTE
Definition: xxhash.c:193