44#if defined(EVENT_TRACING)
51#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
57#pragma alloc_text(WDF_FX_VF_SECTION_NAME, VerifierPageLockHandle)
109#pragma comment(linker, "/include:_FxObjectsInfoCount")
111#pragma comment(linker, "/include:FxObjectsInfoCount")
173 if (*HandleNameList ==
NULL) {
185 FxDriverGlobals->Tag);
225 objectName.
Buffer = ubuffer;
243 pCur = HandleNameList;
288 if (pExtension ==
NULL) {
300 FxDriverGlobals->DebugExtension = pExtension;
310#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
392 ASSERTMSG(
"FxObjectsInfo table is not in sorted order\n",
436 if (pRtlVerifyVersionInfo ==
NULL) {
447 info.dwOSVersionInfoSize =
sizeof(
info);
448 info.dwMajorVersion = 6;
449 info.dwMinorVersion = 2;
472 ULONG ifrDisabled = 0;
479 status = FxRegKey::_QueryULong(hWdf.
m_Key, &ifrDisabledName, &ifrDisabled);
484 if (ifrDisabled == 1) {
520#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
536#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
676#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
705 sizeof(PWMI_WDF_NOTIFY_ROUTINES),
715 sizeof(WMI_WDF_NOTIFY_ROUTINES));
717 sizeof(WMI_WDF_NOTIFY_ROUTINES);
730 sizeof(WMI_WDF_NOTIFY_ROUTINES));
751#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
768#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
795 % __alignof(
LONG)) == 0);
808 "First time Locking (%d) in Verifier Paged Memory "
809 "from %!wZ! from driver globals %p",
820 "Increment Lock counter (%d) for Verifier Paged Memory "
821 "from %!wZ! from driver globals %p",
839 "Decrement UnLock counter (%d) for Verifier Paged Memory "
840 "with driver globals %p",
841 count, FxDriverGlobals);
926#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
943#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
944 if(FxDriverGlobals->FxVerifierOn){
959#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
977 return windowsVerifierOn;
1012 Mx::MxEnterCriticalRegion();
1014 Mx::MxLeaveCriticalRegion();
1026#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
1038#if ((FX_CORE_MODE)==(FX_CORE_KERNEL_MODE))
1042 if(FxDriverGlobals->FxVerifierOn){
1072#if (FX_CORE_MODE==FX_CORE_USER_MODE)
1146#if (FX_CORE_MODE==FX_CORE_KERNEL_MODE)
1155#if (FX_CORE_MODE==FX_CORE_KERNEL_MODE)
1172 if (TraceLoggingProviderEnabled(g_TelemetryProvider, 0 ,0)) {
1258 status = FxRegKey::_QueryValue(FxDriverGlobals,
1286 status = FxRegKey::_QueryValue(FxDriverGlobals,
1304#pragma prefast(push)
1305#pragma prefast(suppress:__WARNING_PRECONDITION_NULLTERMINATION_VIOLATION, "FxRegKey::_VerifyMultiSzString makes sure the string is NULL-terminated")
1351 *OverrideValue =
TRUE;
1353 *OverrideValue =
FALSE;
1385 ULONG verifierOnValue;
1386 ULONG verifyDownlevelValue;
1388 ULONG allocateFailValue;
1389 ULONG forceLogsInMiniDump;
1390 ULONG trackDriverForMiniDumpLog;
1391 ULONG requestParentOptimizationOn;
1393 ULONG removeLockOptionFlags;
1398 ULONG timeoutValue = 0;
1407#if (FX_CORE_MODE==FX_CORE_KERNEL_MODE)
1431 if (FxDriverGlobals->IsVersionGreaterThanOrEqualTo(1,9)) {
1436 FxDriverGlobals->SetVerifierState(WindowsVerifierOn);
1437 if (FxDriverGlobals->FxVerifierOn) {
1451 paramTable[
i].
Name =
L"VerboseOn";
1457 allocateFailValue = (
ULONG) -1;
1461 paramTable[
i].
Name =
L"VerifierAllocateFailCount";
1467 verifierOnValue = 0;
1474 if (FxDriverGlobals->IsVersionGreaterThanOrEqualTo(1,9)) {
1475 verifierOnValue = WindowsVerifierOn;
1481 paramTable[
i].
Name =
L"VerifierOn";
1487 verifyDownlevelValue = 0;
1491 paramTable[
i].
Name =
L"VerifyDownLevel";
1497 forceLogsInMiniDump = 0;
1501 paramTable[
i].
Name =
L"ForceLogsInMiniDump";
1512#if (FX_CORE_MODE==FX_CORE_KERNEL_MODE)
1513 trackDriverForMiniDumpLog = (
ULONG)
TRUE;
1515 trackDriverForMiniDumpLog = 0;
1520 paramTable[
i].
Name =
L"TrackDriverForMiniDumpLog";
1523#if (FX_CORE_MODE==FX_CORE_KERNEL_MODE)
1530 requestParentOptimizationOn = (
ULONG)
TRUE;
1534 paramTable[
i].
Name =
L"RequestParentOptimizationOn";
1544 paramTable[
i].
Name =
L"DsfOn";
1550 removeLockOptionFlags = 0;
1554 paramTable[
i].
Name =
L"RemoveLockOptionFlags";
1560 ASSERT(
i <
sizeof(paramTable) /
sizeof(paramTable[0]));
1562#if (FX_CORE_MODE==FX_CORE_USER_MODE)
1566 "RtlQueryRegistryValuesEx"
1573#pragma warning(push)
1574#pragma warning(disable: 4055)
1582 if (queryFn ==
NULL) {
1600 FxDriverGlobals->FxVerboseOn =
TRUE;
1603 FxDriverGlobals->FxVerboseOn =
FALSE;
1606 if (allocateFailValue != (
ULONG) -1) {
1607 FxDriverGlobals->WdfVerifierAllocateFailCount = (
LONG) allocateFailValue;
1610 FxDriverGlobals->WdfVerifierAllocateFailCount = -1;
1617 FxDriverGlobals->SetVerifierState(verifierOnValue ?
TRUE :
FALSE);
1619 if (FxDriverGlobals->FxVerifierOn) {
1627 if (verifyDownlevelValue) {
1628 FxDriverGlobals->FxVerifyDownlevel =
TRUE;
1631 FxDriverGlobals->FxVerifyDownlevel =
FALSE;
1642 &FxDriverGlobals->FxVerifyOn);
1644 if (FxDriverGlobals->FxVerifyOn) {
1645 FxDriverGlobals->Public.DriverFlags |=
WdfVerifyOn;
1650 &FxDriverGlobals->FxVerifierDbgBreakOnError);
1653 L"DbgBreakOnDeviceStateError",
1654 &FxDriverGlobals->FxVerifierDbgBreakOnDeviceStateError);
1656 if (FxDriverGlobals->FxVerifierDbgBreakOnError) {
1667 FxDriverGlobals->FxVerifierDbgWaitForSignalTimeoutInSec = timeoutValue;
1679 if (FxDriverGlobals->IsVersionGreaterThanOrEqualTo(1,13) &&
1684 FxDriverGlobals->DbgWaitForWakeInterruptIsrTimeoutInSec = timeoutValue;
1687 FxDriverGlobals->FxForceLogsInMiniDump =
1690 FxDriverGlobals->FxTrackDriverForMiniDumpLog =
1691 (trackDriverForMiniDumpLog) ?
TRUE :
FALSE;
1693 FxDriverGlobals->FxRequestParentOptimizationOn =
1694 (requestParentOptimizationOn) ?
TRUE :
FALSE;
1696 FxDriverGlobals->FxDsfOn = (dsfValue) ?
TRUE :
FALSE;
1698 FxDriverGlobals->RemoveLockOptionFlags = removeLockOptionFlags;
1727 DbgPrint(
"Thread 0x%p is %s 0x%p\n",
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char * FunctionName
#define InterlockedIncrement
#define InterlockedDecrement
OSVERSIONINFOW VersionInfo
static _Must_inspect_result_ NTSTATUS _VerifyMultiSzString(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PCUNICODE_STRING RegValueName, __in_bcount(DataLength) PWCHAR DataString, __in ULONG DataLength)
__inline VOID Uninitialize()
CHECK_RETURN_IF_USER_MODE __inline NTSTATUS Initialize(__in EVENT_TYPE Type, __in BOOLEAN InitialState)
__inline VOID Uninitialize()
__inline VOID Initialize()
static __inline VOID MxFreePool(__in PVOID Ptr)
static __inline PVOID MxAllocatePoolWithTag(__in POOL_TYPE PoolType, __in SIZE_T NumberOfBytes, __in ULONG Tag)
static VOID MxGlobalInit(VOID)
static __inline PVOID MxGetSystemRoutineAddress(__in MxFuncName FuncName)
static __inline MxThread MxGetCurrentThread()
static __inline KIRQL MxGetCurrentIrql()
#define WDF_REGISTRY_BASE_PATH
#define NT_SUCCESS(StatCode)
#define GetProcAddress(x, y)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
LOGICAL NTAPI MmIsDriverVerifying(IN PDRIVER_OBJECT DriverObject)
#define RemoveEntryList(Entry)
#define InsertHeadList(ListHead, Entry)
#define IsListEmpty(ListHead)
ULONG RtlCompareUnicodeString(PUNICODE_STRING s1, PUNICODE_STRING s2, BOOLEAN UpCase)
#define InitializeListHead(ListHead)
#define KeInitializeSpinLock(sl)
VOID FxUnregisterBugCheckCallback(__inout PFX_DRIVER_GLOBALS FxDriverGlobals)
VOID FxCacheBugCheckDriverInfo(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
VOID FxPurgeBugCheckDriverInfo(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
VOID FxUninitializeBugCheckDriverInfo()
VOID FxRegisterBugCheckCallback(__inout PFX_DRIVER_GLOBALS FxDriverGlobals, __in PDRIVER_OBJECT DriverObject)
VOID FxInitializeBugCheckDriverInfo()
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
PFX_DRIVER_GLOBALS pFxDriverGlobals
struct _FX_DRIVER_GLOBALS * PFX_DRIVER_GLOBALS
void FxVerifierLockDestroy(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
VOID FxFreeAllocatedMdlsDebugInfo(__in FxDriverGlobalsDebugExtension *DebugExtension)
void FxVerifierLockInitialize(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
@ WaitSignalBreakUnderDebugger
@ WaitSignalBreakUnderVerifier
@ FxObjectDebugTrackReferences
VOID(STDCALL * PFN_POX_ACTIVATE_COMPONENT)(__in POHANDLE Handle, __in ULONG Component, __in ULONG Flags)
VOID(STDCALL * PFN_POX_COMPLETE_IDLE_CONDITION)(__in POHANDLE Handle, __in ULONG Component)
VOID(STDCALL * PFN_VF_CHECK_NX_POOL_TYPE)(_In_ POOL_TYPE PoolType, _In_ PVOID CallingAddress, _In_ ULONG PoolTag)
NTSTATUS(STDCALL * PFN_IO_DISCONNECT_INTERRUPT_EX)(__in PIO_DISCONNECT_INTERRUPT_PARAMETERS Parameters)
VOID(STDCALL * PFN_POX_IDLE_COMPONENT)(__in POHANDLE Handle, __in ULONG Component, __in ULONG Flags)
VOID(STDCALL * PFN_IO_REPORT_INTERRUPT_ACTIVE)(_In_ PIO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS Parameters)
VOID(STDCALL * PFN_IO_REPORT_INTERRUPT_INACTIVE)(_In_ PIO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS Parameters)
NTSTATUS(STDCALL * PFN_IO_CONNECT_INTERRUPT_EX)(__inout PIO_CONNECT_INTERRUPT_PARAMETERS Parameters)
VOID(STDCALL * PFN_POX_UNREGISTER_DEVICE)(__in POHANDLE Handle)
VOID(STDCALL * PFN_POX_COMPLETE_IDLE_STATE)(__in POHANDLE Handle, __in ULONG Component)
NTSTATUS(STDCALL * PFN_IO_UNREGISTER_PLUGPLAY_NOTIFICATION_EX)(__in PVOID NotificationEntry)
VOID(STDCALL * PFN_KE_SET_TARGET_PROCESSOR_DPC)(__in PRKDPC Dpc, __in CCHAR Number)
VOID(STDCALL * PFN_POX_SET_DEVICE_IDLE_TIMEOUT)(__in POHANDLE Handle, __in ULONGLONG IdleTimeout)
VOID(STDCALL * PFN_POX_COMPLETE_DEVICE_POWER_NOT_REQUIRED)(__in POHANDLE Handle)
NTSTATUS(STDCALL * PFN_POX_REGISTER_DEVICE)(__in MdDeviceObject Pdo, __in PPO_FX_DEVICE PoxDevice, __out POHANDLE *Handle)
VOID(STDCALL * PFN_POX_REPORT_DEVICE_POWERED_ON)(__in POHANDLE Handle)
KAFFINITY(STDCALL * PFN_KE_QUERY_ACTIVE_PROCESSORS)(VOID)
VOID(STDCALL * PFN_POX_START_DEVICE_POWER_MANAGEMENT)(__in POHANDLE Handle)
#define FLAG_TO_BOOL(_Flags, _FlagMask)
DECLSPEC_SELECTANY const ULONG_PTR FxHandleValueMask
_Must_inspect_result_ NTSTATUS FxPoolPackageInitialize(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
VOID FxPoolPackageDestroy(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
VOID AllocAndInitializeTelemetryContext(_In_ PFX_TELEMETRY_CONTEXT *TelemetryContext)
#define WmiQueryTraceInformation
GLuint GLuint GLsizei GLenum type
GLuint GLuint GLsizei count
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
_Must_inspect_result_ FxObjectDebugInfo * FxVerifyAllocateDebugInfo(__in LPWSTR HandleNameList, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
VOID FxVerifierQueryTrackPower(__in HANDLE Key, __out FxTrackPowerOption *TrackPower)
VOID FxDriverGlobalsInitializeDebugExtension(__inout PFX_DRIVER_GLOBALS FxDriverGlobals, __in_opt HANDLE Key)
BOOLEAN IsWindowsVerifierOn(_In_ MdDriverObject DriverObject)
_Must_inspect_result_ NTSTATUS FxInitialize(__inout PFX_DRIVER_GLOBALS FxDriverGlobals, __in MdDriverObject DriverObject, __in PCUNICODE_STRING RegistryPath, __in_opt PWDF_DRIVER_CONFIG DriverConfig)
VOID FxLibraryGlobalsDecommission(VOID)
_Must_inspect_result_ NTSTATUS FxLibraryGlobalsCommission(VOID)
VOID FxFreeDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
_Must_inspect_result_ BOOLEAN FxVerifyObjectTypeInTable(__in USHORT ObjectType)
VOID VerifierPageLockHandle(VOID)
VOID FxVerifyObjectTableIsSorted(VOID)
VOID LockVerifierSection(_In_ PFX_DRIVER_GLOBALS FxDriverGlobals, _In_ PCUNICODE_STRING RegistryPath)
VOID UnlockVerifierSection(_In_ PFX_DRIVER_GLOBALS FxDriverGlobals)
_Must_inspect_result_ PWDF_DRIVER_GLOBALS FxAllocateDriverGlobals(VOID)
VOID FxRegistrySettingsInitialize(__inout PFX_DRIVER_GLOBALS FxDriverGlobals, __in PCUNICODE_STRING RegistryPath, __in BOOLEAN WindowsVerifierOn)
VOID FxLibraryGlobalsVerifyVersion(VOID)
_Must_inspect_result_ BOOLEAN FxVerifierGetTrackReferences(__in FxObjectDebugInfo *DebugInfo, __in WDFTYPE ObjectType)
VOID FxOverrideDefaultVerifierSettings(__in HANDLE Key, __in LPWSTR Name, __out PBOOLEAN OverrideValue)
NTSTATUS(* PFN_RTL_VERIFY_VERSION_INFO)(__in PRTL_OSVERSIONINFOEXW VersionInfo, __in ULONG TypeMask, __in ULONGLONG ConditionMask)
ULONGLONG(* PFN_VER_SET_CONDITION_MASK)(__in ULONGLONG ConditionMask, __in ULONG TypeMask, __in UCHAR Condition)
VOID FxLibraryGlobalsQueryRegistrySettings(VOID)
PCSTR FxObjectTypeToHandleName(__in WDFTYPE ObjectType)
NTSTATUS(* PFN_RTL_GET_VERSION)(__out PRTL_OSVERSIONINFOW VersionInformation)
VOID FxDestroy(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
_Must_inspect_result_ FxObjectDebugInfo * FxVerifierGetObjectDebugInfo(__in HANDLE Key, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
FxLibraryGlobalsType FxLibraryGlobals
const FX_OBJECT_INFO FxObjectsInfo[]
NTSYSAPI void WINAPI DbgBreakPoint(void)
NTSYSAPI NTSTATUS WINAPI RtlQueryRegistryValues(ULONG, PCWSTR, PRTL_QUERY_REGISTRY_TABLE, PVOID, PVOID)
#define MAKE_MX_FUNC_NAME(x)
BOOLEAN(STDCALL * PFN_KE_SET_COALESCABLE_TIMER)(__inout PKTIMER Timer, __in LARGE_INTEGER DueTime, __in ULONG Period, __in ULONG TolerableDelay, __in_opt PKDPC Dpc)
_In_ ULONG _In_ ULONGLONG ConditionMask
#define VER_GREATER_EQUAL
#define _Must_inspect_result_
#define ASSERTMSG(msg, exp)
NTSYSAPI NTSTATUS NTAPI RtlAnsiStringToUnicodeString(PUNICODE_STRING DestinationString, PANSI_STRING SourceString, BOOLEAN AllocateDestinationString)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
#define RTL_QUERY_REGISTRY_DIRECT
#define RTL_REGISTRY_OPTIONAL
NTSYSAPI VOID NTAPI RtlInitAnsiString(PANSI_STRING DestinationString, PCSZ SourceString)
#define RTL_REGISTRY_HANDLE
#define UNREFERENCED_PARAMETER(P)
IN ULONG IN UCHAR Condition
#define WDF_GLOBAL_VALUE_IFRDISABLED
#define STATUS_BUFFER_TOO_SMALL
#define STATUS_BUFFER_OVERFLOW
#define TRACE_LEVEL_VERBOSE
#define TRACE_LEVEL_INFORMATION
FxTrackPowerOption TrackPower
MxLock AllocatedTagTrackersLock
KSPIN_LOCK AllocatedMdlsLock
FxObjectDebugInfo * ObjectDebugInfo
LIST_ENTRY AllocatedTagTrackersListHead
FX_DRIVER_TRACKER_CACHE_AWARE DriverTracker
PFN_KE_QUERY_ACTIVE_PROCESSORS KeQueryActiveProcessors
PFN_IO_REPORT_INTERRUPT_INACTIVE IoReportInterruptInactive
PVOID VerifierSectionHandle
PFN_POX_REGISTER_DEVICE PoxRegisterDevice
PFN_KE_SET_TARGET_PROCESSOR_DPC KeSetTargetProcessorDpc
PFN_POX_COMPLETE_DEVICE_POWER_NOT_REQUIRED PoxCompleteDevicePowerNotRequired
PFN_POX_START_DEVICE_POWER_MANAGEMENT PoxStartDevicePowerManagement
LIST_ENTRY FxDriverGlobalsList
PVOID DummyPerfTraceRoutines
PFN_IO_DISCONNECT_INTERRUPT_EX IoDisconnectInterruptEx
PFN_POX_COMPLETE_IDLE_STATE PoxCompleteIdleState
RTL_OSVERSIONINFOEXW OsVersionInfo
PFN_POX_IDLE_COMPONENT PoxIdleComponent
PFN_KE_SET_COALESCABLE_TIMER KeSetCoalescableTimer
PFN_IO_CONNECT_INTERRUPT_EX IoConnectInterruptEx
PFN_POX_REPORT_DEVICE_POWERED_ON PoxReportDevicePoweredOn
PFN_VF_CHECK_NX_POOL_TYPE VfCheckNxPoolType
PFN_IO_REPORT_INTERRUPT_ACTIVE IoReportInterruptActive
PFN_POX_COMPLETE_IDLE_CONDITION PoxCompleteIdleCondition
BOOLEAN PassiveLevelInterruptSupport
PFN_IO_UNREGISTER_PLUGPLAY_NOTIFICATION_EX IoUnregisterPlugPlayNotificationEx
PFN_POX_ACTIVATE_COMPONENT PoxActivateComponent
BOOLEAN ProcessorGroupSupport
PFN_POX_SET_DEVICE_IDLE_TIMEOUT PoxSetDeviceIdleTimeout
BOOLEAN MachineSleepStates[FxMachineSleepStatesMax]
BOOLEAN IsUserModeFramework
MxLockNoDynam FxDriverGlobalsListLock
PFN_POX_UNREGISTER_DEVICE PoxUnregisterDevice
volatile LONG VerifierSectionHandleRefCount
union FxObjectDebugInfo::@4761 u
LONG WdfVerifierAllocateFailCount
ULONG DbgWaitForWakeInterruptIsrTimeoutInSec
ULONG FxEnhancedVerifierOptions
BOOLEAN FxVerifyDownlevel
FxLibraryGlobalsType * LibraryGlobals
VOID SetVerifierState(__in BOOLEAN State)
ULONG BugCheckDriverInfoIndex
BOOLEAN FxForceLogsInMiniDump
BOOLEAN FxVerifierDbgBreakOnError
FxDriverGlobalsDebugExtension * DebugExtension
PFX_TELEMETRY_CONTEXT TelemetryContext
_Must_inspect_result_ BOOLEAN IsDebuggerAttached(VOID)
ULONG FxVerifierDbgWaitForSignalTimeoutInSec
BOOLEAN FxRequestParentOptimizationOn
BOOLEAN FxTrackDriverForMiniDumpLog
VOID WaitForSignal(__in MxEvent *Event, __in PCSTR ReasonForWaiting, __in PVOID Handle, __in ULONG WarningTimeoutInSec, __in ULONG WaitSignalFlags)
_Must_inspect_result_ NTSTATUS Initialize()
ULONG dwOSVersionInfoSize
PVOID NTAPI MmGetSystemRoutineAddress(IN PUNICODE_STRING SystemRoutineName)
#define FIELD_OFFSET(t, f)
#define RtlZeroMemory(Destination, Length)
#define DECLARE_CONST_UNICODE_STRING(_variablename, _string)
FORCEINLINE LONGLONG WDF_REL_TIMEOUT_IN_SEC(_In_ ULONGLONG Time)
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PWDF_DRIVER_CONFIG DriverConfig
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
#define PAGED_CODE_LOCKED()
#define MmLockPagableCodeSection(Address)