28#if !defined(_NTHAL_) && !defined(_NTIFS_)
29#define _NTDDK_INCLUDED_
36#define _CTYPE_DISABLE_MACROS
71struct _DRIVE_LAYOUT_INFORMATION_EX;
72struct _SET_PARTITION_INFORMATION_EX;
78#if defined(_NTHAL_INCLUDED_)
79typedef struct _KAFFINITY_EX *PKAFFINITY_EX;
111#elif defined(_M_AMD64)
114#elif defined(_M_IA64)
118#elif defined(_M_MIPS)
123#elif defined(_M_ARM64)
126#error Unknown Architecture
143#define VER_SET_CONDITION(ConditionMask, TypeBitMask, ComparisonType) \
144 ((ConditionMask) = VerSetConditionMask((ConditionMask), \
145 (TypeBitMask), (ComparisonType)))
147#if (NTDDI_VERSION >= NTDDI_WIN2K)
199#define DRIVER_VERIFIER_SPECIAL_POOLING 0x0001
200#define DRIVER_VERIFIER_FORCE_IRQL_CHECKING 0x0002
201#define DRIVER_VERIFIER_INJECT_ALLOCATION_FAILURES 0x0004
202#define DRIVER_VERIFIER_TRACK_POOL_ALLOCATIONS 0x0008
203#define DRIVER_VERIFIER_IO_CHECKING 0x0010
205#define SHARED_GLOBAL_FLAGS_ERROR_PORT_V 0x0
206#define SHARED_GLOBAL_FLAGS_ERROR_PORT (1UL << SHARED_GLOBAL_FLAGS_ERROR_PORT_V)
208#define SHARED_GLOBAL_FLAGS_ELEVATION_ENABLED_V 0x1
209#define SHARED_GLOBAL_FLAGS_ELEVATION_ENABLED (1UL << SHARED_GLOBAL_FLAGS_ELEVATION_ENABLED_V)
211#define SHARED_GLOBAL_FLAGS_VIRT_ENABLED_V 0x2
212#define SHARED_GLOBAL_FLAGS_VIRT_ENABLED (1UL << SHARED_GLOBAL_FLAGS_VIRT_ENABLED_V)
214#define SHARED_GLOBAL_FLAGS_INSTALLER_DETECT_ENABLED_V 0x3
215#define SHARED_GLOBAL_FLAGS_INSTALLER_DETECT_ENABLED \
216 (1UL << SHARED_GLOBAL_FLAGS_INSTALLER_DETECT_ENABLED_V)
218#define SHARED_GLOBAL_FLAGS_SPARE_V 0x4
219#define SHARED_GLOBAL_FLAGS_SPARE \
220 (1UL << SHARED_GLOBAL_FLAGS_SPARE_V)
222#define SHARED_GLOBAL_FLAGS_DYNAMIC_PROC_ENABLED_V 0x5
223#define SHARED_GLOBAL_FLAGS_DYNAMIC_PROC_ENABLED \
224 (1UL << SHARED_GLOBAL_FLAGS_DYNAMIC_PROC_ENABLED_V)
226#define SHARED_GLOBAL_FLAGS_SEH_VALIDATION_ENABLED_V 0x6
227#define SHARED_GLOBAL_FLAGS_SEH_VALIDATION_ENABLED \
228 (1UL << SHARED_GLOBAL_FLAGS_SEH_VALIDATION_ENABLED_V)
230#define EX_INIT_BITS(Flags, Bit) \
233#define EX_TEST_SET_BIT(Flags, Bit) \
234 InterlockedBitTestAndSet ((PLONG)(Flags), (Bit))
236#define EX_TEST_CLEAR_BIT(Flags, Bit) \
237 InterlockedBitTestAndReset ((PLONG)(Flags), (Bit))
239#define PCCARD_MAP_ERROR 0x01
240#define PCCARD_DEVICE_PCI 0x10
242#define PCCARD_SCAN_DISABLED 0x01
243#define PCCARD_MAP_ZERO 0x02
244#define PCCARD_NO_TIMER 0x03
245#define PCCARD_NO_PIC 0x04
246#define PCCARD_NO_LEGACY_BASE 0x05
247#define PCCARD_DUP_LEGACY_BASE 0x06
248#define PCCARD_NO_CONTROLLERS 0x07
250#define MAXIMUM_EXPANSION_SIZE (KERNEL_LARGE_STACK_SIZE - (PAGE_SIZE / 2))
254#if (NTDDI_VERSION >= NTDDI_WIN2K)
GLfloat GLfloat GLfloat GLfloat h
_In_ ULONG _In_ ULONGLONG ConditionMask
#define _Must_inspect_result_
struct _SYSTEM_FIRMWARE_TABLE_HANDLER * PSYSTEM_FIRMWARE_TABLE_HANDLER
struct _SYSTEM_FIRMWARE_TABLE_INFORMATION * PSYSTEM_FIRMWARE_TABLE_INFORMATION
ULONG_PTR(NTAPI * PDRIVER_VERIFIER_THUNK_ROUTINE)(_In_ PVOID Context)
NTSTATUS(__cdecl * PFNFTH)(_Inout_ PSYSTEM_FIRMWARE_TABLE_INFORMATION SystemFirmwareTableInfo)
struct _DEVICE_HANDLER_OBJECT * PDEVICE_HANDLER_OBJECT
struct _KERNEL_USER_TIMES KERNEL_USER_TIMES
_SYSTEM_FIRMWARE_TABLE_ACTION
@ SystemFirmwareTable_Enumerate
@ SystemFirmwareTable_Get
enum _SYSTEM_FIRMWARE_TABLE_ACTION SYSTEM_FIRMWARE_TABLE_ACTION
IN ULONG IN UCHAR Condition
PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS
$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
struct _KERNEL_USER_TIMES * PKERNEL_USER_TIMES
struct _BUS_HANDLER * PBUS_HANDLER
struct _IMAGE_NT_HEADERS64 * PIMAGE_NT_HEADERS64
_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI FsRtlIsTotalDeviceFailure(_In_ NTSTATUS Status)
struct _DRIVER_VERIFIER_THUNK_PAIRS DRIVER_VERIFIER_THUNK_PAIRS
struct _DRIVER_VERIFIER_THUNK_PAIRS * PDRIVER_VERIFIER_THUNK_PAIRS
struct _SYSTEM_FIRMWARE_TABLE_HANDLER SYSTEM_FIRMWARE_TABLE_HANDLER
struct _IMAGE_NT_HEADERS * PIMAGE_NT_HEADERS32
struct _SYSTEM_FIRMWARE_TABLE_INFORMATION SYSTEM_FIRMWARE_TABLE_INFORMATION
$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
ULONGLONG NTAPI VerSetConditionMask(IN ULONGLONG ConditionMask, IN ULONG TypeMask, IN UCHAR Condition)
PDRIVER_VERIFIER_THUNK_ROUTINE NewRoutine
PDRIVER_VERIFIER_THUNK_ROUTINE PristineRoutine
PFNFTH FirmwareTableHandler