28#define WDM_MAJORVERSION 0x06
29#define WDM_MINORVERSION 0x00
36#define NO_INTERLOCKED_INTRINSICS
66#if (NTDDI_VERSION >= NTDDI_WINXP)
83#if !defined(_NTHALDLL_) && !defined(_BLDR_)
84#define NTHALAPI DECLSPEC_IMPORT
90#if !defined(_NTOSKRNL_) && !defined(_BLDR_) && !defined(_NTSYSTEM_)
91#define NTKERNELAPI DECLSPEC_IMPORT
97#if defined(NTKRNLVISTA)
100#define NTKRNLVISTAAPI NTKERNELAPI
103#if defined(_X86_) && !defined(_NTHAL_)
104#define _DECL_HAL_KE_IMPORT DECLSPEC_IMPORT
106#define _DECL_HAL_KE_IMPORT
108#define _DECL_HAL_KE_IMPORT NTKERNELAPI
112#define POINTER_ALIGNMENT DECLSPEC_ALIGN(8)
114#define POINTER_ALIGNMENT
118#ifndef __GNU_EXTENSION
120#define __GNU_EXTENSION __extension__
122#define __GNU_EXTENSION
129#pragma warning(disable:4115)
130#pragma warning(disable:4201)
131#pragma warning(disable:4214)
132#pragma warning(disable:4820)
135#if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_IA64)
136#define ALLOC_PRAGMA 1
140#if defined(_M_IX86) || defined(_M_AMD64)
141#define ALLOC_DATA_PRAGMA 1
149#define __SYMBOL(_Name) "_"#_Name
150#define __IMPORTSYMBOL(_Name) "__imp__"#_Name
151#define __IMPORTNAME(_Name) __imp__##_Name
153#define __SYMBOL(_Name) #_Name
154#define __IMPORTSYMBOL(_Name) "__imp_"#_Name
155#define __IMPORTNAME(_Name) __imp_##_Name
157#if defined(_MSC_VER) && !defined(__clang__)
158#define __CREATE_NTOS_DATA_IMPORT_ALIAS(_Name) \
159 __pragma(comment(linker, "/alternatename:"__SYMBOL(_Name) "=" __IMPORTSYMBOL(_Name)))
162#define __STRINGIFY(_exp) #_exp
164#define _Pragma_redefine_extname(_Name, _Target) _Pragma(__STRINGIFY(redefine_extname _Name _Target))
165#define __CREATE_NTOS_DATA_IMPORT_ALIAS(_Name) \
166 _Pragma_redefine_extname(_Name,__IMPORTNAME(_Name))
170#if !defined(USE_DMA_MACROS) && !defined(_NTHAL_)
171#define USE_DMA_MACROS
173#if !defined(NO_LEGACY_DRIVERS) && !defined(__REACTOS__)
174#define NO_LEGACY_DRIVERS
189struct _SCATTER_GATHER_LIST;
205#if defined(USE_DMA_MACROS) && !defined(_NTHAL_)
207#elif defined(_WDM_INCLUDED_)
215#define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID name
217#define DEFINE_GUIDEX(name) EXTERN_C const GUID name
222#define STATICGUIDOF(guid) STATIC_##guid
226#ifndef __IID_ALIGNED__
227#define __IID_ALIGNED__
235#define IsEqualGUIDAligned(guid1, guid2) \
236 ( (*(PLONGLONG)(guid1) == *(PLONGLONG)(guid2)) && \
237 (*((PLONGLONG)(guid1) + 1) == *((PLONGLONG)(guid2) + 1)) )
#define __internal_kernel_driver
#define __drv_Mode_impl(x)
GLfloat GLfloat GLfloat GLfloat h
__GNU_EXTENSION typedef __int64 * PLONGLONG
$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
struct _KTHREAD * PRKTHREAD
struct _KTHREAD * PKTHREAD
struct _CONTEXT * PCONTEXT
struct _CALLBACK_OBJECT * PCALLBACK_OBJECT
struct _KINTERRUPT * PKINTERRUPT
struct _EPROCESS * PEPROCESS
struct _DMA_ADAPTER * PADAPTER_OBJECT
#define IsEqualGUIDAligned(guid1, guid2)
struct _KPROCESS * PKPROCESS
struct _OBJECT_TYPE * POBJECT_TYPE
struct _ETHREAD * PETHREAD
struct _IO_TIMER * PIO_TIMER