37#define OFFSET_AND_NAME(type, offset) { #offset, FIELD_OFFSET(type, offset) }
206 "Device name for WDFDEVICE 0x%p is NULL. Possibly incorrect "
268WDFEXPORT(WdfDeviceGetAlignmentRequirement)(
293WDFEXPORT(WdfDeviceSetAlignmentRequirement)(
364WDFEXPORT(WdfDeviceGetDevicePowerPolicyState)(
415 "Device 0x%p is not the power policy owner, caller cannot set S0"
430 "Expected Settings Size %d, got %d, %!STATUS!",
447 "a field (DxState, IdleCaps, Enabled, or UserControlOfIdleSettings)"
448 " is out range, %!STATUS!",
status);
463 "value of field PowerUpIdleDeviceOnSystemWake is out of range,"
473 "value of field PowerUpIdleDeviceOnSystemWake should be set only when"
474 " IdleCaps is IdleCannotWakeFromS0, %!STATUS!",
status);
487 "WDFDEVICE %p, value of field IdleTimeoutType is out of range,"
530 "Device 0x%p is not the power policy owner, caller cannot set Sx"
543 "Expected Settings Size %x, got %x, %!STATUS!",
559 "a field (DxState, Enabled, or UserControlOfIdleSettings) is out "
560 "range, %!STATUS!",
status);
575 Settings->ArmForWakeIfChildrenAreArmedForWake :
583 Settings->IndicateChildWakeOnParentWake :
695 "The subkey cannot be of length zero, %!STATUS!",
status);
717 "Unable to allocate memory for WDFKEY object, %!STATUS!",
status);
771 "WDFDEVICE 0x%p DeviceState Size %d, expected %d",
820 "WDFDEVICE 0x%p, DeviceState Size %d, expected %d",
849 "WDFDEVICE 0x%p DeviceState WDF_TRI_STATE %s value out of range, "
918 if ((*DeviceInit)->CreatedDevice !=
NULL) {
923 "WDFDEVICE 0x%p already created"
924 "STATUS_INVALID_DEVICE_STATE",
934 if ((*DeviceInit)->Security.Sddl !=
NULL || (*DeviceInit)->Security.DeviceClassSet) {
935 if ((*DeviceInit)->HasName()) {
946 "Device init: has device class or SDDL set, but does not have "
947 "a name, %!STATUS!",
status);
953 if ((*DeviceInit)->RequiresSelfIoTarget) {
958 "Client called WdfDeviceInitAllowSelfTarget. Self "
959 "IO Targets are supported only for FDOs, %!STATUS!",
status);
1007 "WDFDEVICE %p, SymbolicLinkName has no length, %!STATUS!",
1028 "WDFDEVICE %p already has a symbolic link associated with it, %!STATUS!",
1105 "WDFDEVICE 0x%p is not a PnP device %!STATUS!",
1121 "exit WDFDEVICE %p, Property %d, %!STATUS!",
1131WDFEXPORT(WdfDeviceAllocAndQueryProperty)(
1199 "WDFDEVICE %p is not a PnP device, %!STATUS!",
1215 "exit WDFDEVICE %p, Property %d, %!STATUS!",
1292 "WDFDEVICE %p, !devobj %p SetFailed %!WDF_DEVICE_FAILED_ACTION!",
1338 "WDFDEVICE %p WdfDeviceStopIdle does nothing if you are not the power "
1339 "policy owner for the stack, %!STATUS!",
Device,
status);
1347 "WDFDEVICE %p WdfDeviceStopIdle, WaitForD0 %d %!STATUS!",
1380 "WdfDeviceResumeIdle does nothing if you are not the power "
1381 "policy owner for the stack");
1551 "WDFDEVICE 0x%p PnpCapabilities Size %d, expected %d",
1565 sizeof(*PnpCapabilities)) {
1580 "WDFDEVICE 0x%p PnpCapabilities WDF_TRI_STATE %s value out "
1595WDFEXPORT(WdfDeviceSetPowerCapabilities)(
1647 "WDFDEVICE 0x%p PowerCapabilities Size %d, expected %d",
1663 sizeof(*PowerCapabilities)) {
1678 "WDFDEVICE 0x%p PowerCapabilities WDF_TRI_STATE %s value out "
1679 "of range, value is %d",
1692 "WDFDEVICE 0x%p PowerCapabilities DeviceState is invalid",
1706 "WDFDEVICE 0x%p PowerCapabilities DeviceWake %d is out of range",
1719 "WDFDEVICE 0x%p PowerCapabilities SystemWake %d is out of range",
1731 "WDFDEVICE 0x%p PowerCapabilities IdealDxStateForSx %d can only"
1732 " be set by the power policy owner",
1748 "WDFDEVICE 0x%p PowerCapabilities IdealDxStateForSx %d is out "
1765WDFEXPORT(WdfDeviceConfigureRequestDispatching)(
1826 "Invalid RequestType %!WDF_REQUEST_TYPE!, %!STATUS!",
1844 "Input WDFQUEUE 0x%p doesn't belong to the WDFDEVICE 0x%p, %!STATUS!",
1861 "Queue cannot be configured for automatic dispatching"
1862 " after WdfControlDeviceFinishInitializing"
1863 "is called on the WDFDEVICE %p is called %!STATUS!",
1877 "Queue cannot be configured for automatic dispatching"
1878 "after the WDFDEVICE %p is started, %!STATUS!",
1948 "No default Queue configured "
1949 "for Device 0x%p",
Device);
2036WDFEXPORT(WdfDeviceGetSystemPowerAction)(
2174 "PropertyData size (%d) incorrect, expected %d, %!STATUS!",
2192 "Property buffer size is non-zero, while the buffer is NULL"
2200 "Property buffer size is zero, while the buffer is non-NULL"
2222WDFEXPORT(WdfDeviceAllocAndQueryPropertyEx)(
2299 "PropertyData size (%d) incorrect, expected %d, %!STATUS!",
2412 "PropertyData size (%d) incorrect, expected %d, %!STATUS!",
2427 "Property buffer size is zero, while the buffer is non-NULL"
2446WDFEXPORT(WdfDeviceConfigureWdmIrpDispatchCallback)(
2516#if (FX_CORE_MODE == FX_CORE_KERNEL_MODE)
2524 "Invalid MajorFunction provided %!IRPMJ!, %!STATUS!",
2560#if (FX_CORE_MODE == FX_CORE_KERNEL_MODE)
2574 "Driver cannot set IRP dispatch callback "
2575 "after WdfControlDeviceFinishInitializing "
2576 "is called on the WDFDEVICE %p, %!STATUS!",
2588 "Driver cannot set IRP dispatch callback "
2589 "after the WDFDEVICE %p is started, %!STATUS!",
2627 "WDFDEVICE 0x%p !devobj 0x%p %!IRPMJ!, IRP_MN %x, IRP 0x%p",
2634#if (FX_CORE_MODE == FX_CORE_KERNEL_MODE)
2642 "Flags 0x%x are invalid, %!STATUS!",
2655 "Only Read/Write/Control/Internal-Control IRPs can be "
2656 "forwarded to I/O Queue 0x%p, Irp 0x%p, %!IRPMJ!, "
2657 "IRP_MN %x, Device 0x%p, %!STATUS!",
2667 if (
FALSE ==
queue->IsIoEventHandlerRegistered(
2673 "I/O Queue 0x%p cannot handle Irp 0x%p, %!IRPMJ!, "
2674 "IRP_MN %x, Device 0x%p, %!STATUS!",
2681 if (
device->m_ParentDevice ==
queue->GetDevice()) {
2689 "No parent device for Device 0x%p, %!STATUS!",
2706 device->GetPdoPkg()->m_AllowForwardRequestToParent ==
FALSE) {
2710 "WdfPdoInitSetForwardRequestToParent not called on "
2711 "Device 0x%p, %!STATUS!",
2725 "Cannot forward a request to "
2726 "a different Device 0x%p, %!STATUS!",
#define InterlockedIncrement
#define InterlockedDecrement
#define FILE_DEVICE_SECURE_OPEN
virtual FxIoTarget * GetDefaultIoTarget(VOID)
__inline FxDriver * GetDriver(VOID)
WDFDEVICE __inline GetHandle(VOID)
MdDeviceObject __inline GetDeviceObject(VOID)
static _Must_inspect_result_ NTSTATUS _QueryProperty(_In_ PFX_DRIVER_GLOBALS FxDriverGlobals, _In_opt_ PWDFDEVICE_INIT DeviceInit, _In_opt_ FxDevice *Device, _In_opt_ MdDeviceObject RemotePdo, _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty, _In_ ULONG BufferLength, _Out_opt_ PVOID PropertyBuffer, _Out_opt_ PULONG ResultLength)
NTSTATUS CreateSymbolicLink(_In_ PFX_DRIVER_GLOBALS FxDriverGlobals, _In_ PCUNICODE_STRING SymbolicLinkName)
UNICODE_STRING m_DeviceName
FxCxDeviceInfo * GetCxDeviceInfo(__in FxDriver *CxDriver)
static _Must_inspect_result_ NTSTATUS _QueryPropertyEx(_In_ PFX_DRIVER_GLOBALS DriverGlobals, _In_opt_ PWDFDEVICE_INIT DeviceInit, _In_opt_ FxDevice *Device, _In_ PVOID PropertyData, _In_ FxPropertyType FxPropertyType, _In_ ULONG BufferLength, _Out_ PVOID PropertyBuffer, _Out_ PULONG ResultLength, _Out_ PDEVPROPTYPE PropertyType)
__inline WDF_DEVICE_POWER_POLICY_STATE GetDevicePowerPolicyState()
VOID InvalidateDeviceState(VOID)
FxPkgGeneral * m_PkgGeneral
FxIoTargetSelf * GetSelfIoTarget(VOID)
static _Must_inspect_result_ NTSTATUS _Create(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PWDFDEVICE_INIT *DeviceInit, __in_opt PWDF_OBJECT_ATTRIBUTES DeviceAttributes, __out FxDevice **Device)
__inline WDF_DEVICE_POWER_STATE GetDevicePowerState()
_Must_inspect_result_ NTSTATUS AssignProperty(_In_ PVOID PropertyData, _In_ FxPropertyType FxPropertyType, _In_ DEVPROPTYPE Type, _In_ ULONG BufferLength, _In_opt_ PVOID PropertyBuffer)
__inline BOOLEAN IsLegacy(VOID)
static _Must_inspect_result_ NTSTATUS _AllocAndQueryProperty(_In_ PFX_DRIVER_GLOBALS Globals, _In_opt_ PWDFDEVICE_INIT DeviceInit, _In_opt_ FxDevice *Device, _In_opt_ MdDeviceObject RemotePdo, _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty, _In_ POOL_TYPE PoolType, _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes, _Out_ WDFMEMORY *PropertyMemory)
UNICODE_STRING m_SymbolicLinkName
static _Must_inspect_result_ NTSTATUS _AllocAndQueryPropertyEx(_In_ PFX_DRIVER_GLOBALS DriverGlobals, _In_opt_ PWDFDEVICE_INIT DeviceInit, _In_opt_ FxDevice *Device, _In_ PVOID PropertyData, _In_ FxPropertyType FxPropertyType, _In_ POOL_TYPE PoolType, _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes, _Out_ WDFMEMORY *PropertyMemory, _Out_ PDEVPROPTYPE PropertyType)
_Must_inspect_result_ NTSTATUS OpenDevicemapKeyWorker(_In_ PFX_DRIVER_GLOBALS pFxDriverGlobals, _In_ PCUNICODE_STRING KeyName, _In_ ACCESS_MASK DesiredAccess, _In_ FxRegKey *pKey)
static _Must_inspect_result_ NTSTATUS _OpenKey(_In_ PFX_DRIVER_GLOBALS FxDriverGlobals, _In_opt_ PWDFDEVICE_INIT DeviceInit, _In_opt_ FxDevice *Device, _In_ ULONG DeviceInstanceKeyType, _In_ ACCESS_MASK DesiredAccess, _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes, _Out_ WDFKEY *Key)
__inline WDF_DEVICE_PNP_STATE GetDevicePnpState()
__inline WDFDRIVER GetHandle(VOID)
__inline CfxDevice * GetDevice(VOID)
WDFIOTARGET GetHandle(VOID)
UCHAR GetMajorFunction(VOID)
UCHAR GetMinorFunction(VOID)
PVOID __inline GetObjectHandle(VOID)
VOID SetDeviceBase(__in CfxDeviceBase *DeviceBase)
__inline PFX_DRIVER_GLOBALS GetDriverGlobals(VOID)
VOID DeleteFromFailedCreate(VOID)
_Must_inspect_result_ NTSTATUS Commit(__in_opt PWDF_OBJECT_ATTRIBUTES Attributes, __out_opt WDFOBJECT *ObjectHandle, __in_opt FxObject *Parent=NULL, __in BOOLEAN AssignDriverAsDefaultParent=TRUE)
_Must_inspect_result_ NTSTATUS ConfigureForwarding(__in FxIoQueue *FxQueue)
_Must_inspect_result_ NTSTATUS ConfigureForwarding(__inout FxIoQueue *TargetQueue, __in WDF_REQUEST_TYPE RequestType)
_Must_inspect_result_ NTSTATUS EnqueueRequest(__in CfxDevice *Device, __inout FxRequest *pRequest)
__inline FxIoQueue * GetDefaultQueue(VOID)
_Must_inspect_result_ NTSTATUS ConfigureDynamicDispatching(__in UCHAR MajorFunction, __in_opt FxCxDeviceInfo *CxDeviceInfo, __in PFN_WDFDEVICE_WDM_IRP_DISPATCH EvtDeviceWdmIrpDispatch, __in_opt WDFCONTEXT DriverContext)
_Must_inspect_result_ NTSTATUS __inline PowerReference(__in BOOLEAN WaitForD0, __in_opt PVOID Tag=NULL, __in_opt LONG Line=0, __in_opt PSTR File=NULL)
BOOLEAN IsPowerPolicyOwner(VOID)
VOID SetPowerCaps(__in PWDF_DEVICE_POWER_CAPABILITIES PowerCapabilities)
VOID SetPnpCaps(__in PWDF_DEVICE_PNP_CAPABILITIES PnpCapabilities)
VOID __inline PowerDereference(__in_opt PVOID Tag=NULL, __in_opt LONG Line=0, __in_opt PSTR File=NULL)
VOID GetPnpState(__out PWDF_DEVICE_STATE State)
POWER_ACTION GetSystemPowerAction(VOID)
NTSTATUS PowerPolicySetS0IdleSettings(__in PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings)
VOID SetPnpState(__in PWDF_DEVICE_STATE State)
VOID SetDeviceFailed(__in WDF_DEVICE_FAILED_ACTION FailedAction)
NTSTATUS PowerPolicySetSxWakeSettings(__in PWDF_DEVICE_POWER_POLICY_WAKE_SETTINGS Settings, __in BOOLEAN ArmForWakeIfChildrenAreArmedForWake, __in BOOLEAN IndicateChildWakeOnParentWake)
_Must_inspect_result_ NTSTATUS Assign(__in PCWSTR SourceString)
__inline VOID SetObject(__in_opt MdDeviceObject DeviceObject)
ULONG GetAlignmentRequirement(VOID)
VOID SetAlignmentRequirement(_In_ ULONG Value)
VOID SetCharacteristics(ULONG Characteristics)
ULONG GetCharacteristics(VOID)
#define NT_SUCCESS(StatCode)
#define __drv_when(cond, annotes)
#define _IRQL_requires_max_(irql)
#define __drv_maxIRQL(irql)
#define __drv_strictTypeMatch(mode)
#define DO_DEVICE_INITIALIZING
#define FX_DISPATCH_IRP_TO_IO_QUEUE_FLAGS_MASK
__in WDFDEVICE __in PWDF_DEVICE_POWER_CAPABILITIES PowerCapabilities
__in WDFDEVICE __in ULONG AlignmentRequirement
_Must_inspect_result_ __inout PWDFDEVICE_INIT __in_opt PWDF_OBJECT_ATTRIBUTES DeviceAttributes
static const FxOffsetAndName offsets[]
_Must_inspect_result_ NTSTATUS FX_VF_FUNCTION() VerifyWdfDeviceWdmDispatchIrpToIoQueue(_In_ PFX_DRIVER_GLOBALS FxDriverGlobals, _In_ FxDevice *device, _In_ MdIrp Irp, _In_ FxIoQueue *queue, _In_ ULONG Flags)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_ERROR, TRACINGPNP, "Device name for WDFDEVICE 0x%p is NULL. Possibly incorrect " "device handle was passed, %!STATUS!", Device, status)
_Must_inspect_result_ __in WDFDEVICE __in WDFSTRING String
__in WDFDEVICE __in BOOLEAN Stoppable
FxCxDeviceInfo * pCxDeviceInfo
_Must_inspect_result_ __in WDFDEVICE __in ULONG __in ACCESS_MASK __in_opt PWDF_OBJECT_ATTRIBUTES KeyAttributes
__inline NTSTATUS StopIdleWorker(__in PWDF_DRIVER_GLOBALS DriverGlobals, __in WDFDEVICE Device, __in BOOLEAN WaitForD0, __in PVOID Tag, __in LONG Line, __in PSTR File)
_Must_inspect_result_ __in WDFDEVICE __in ULONG DeviceInstanceKeyType
__in WDFDEVICE __in ULONG DeviceCharacteristics
__in WDFDEVICE __out PWDF_DEVICE_STATE DeviceState
FxObjectHandleGetPtr(GetFxDriverGlobals(DriverGlobals), Device, FX_TYPE_DEVICE,(PVOID *) &pDevice)
__inline VOID ResumeIdleWorker(__in PWDF_DRIVER_GLOBALS DriverGlobals, __in WDFDEVICE Device, __in PVOID Tag, __in LONG Line, __in PSTR File)
MxDeviceObject deviceObject
BOOLEAN indicateChildWakeOnParentWake
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING KeyName
_Must_inspect_result_ __in WDFDEVICE __in DEVICE_REGISTRY_PROPERTY __in ULONG __out PULONG ResultLength
__in WDFDEVICE __in WDF_DEVICE_FAILED_ACTION FailedAction
_Must_inspect_result_ __in WDFDEVICE __in PCUNICODE_STRING SymbolicLinkName
_Must_inspect_result_ __in WDFDEVICE __in PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR _In_ PFN_WDFDEVICE_WDM_IRP_DISPATCH _In_opt_ WDFCONTEXT DriverContext
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
_Must_inspect_result_ __in WDFDEVICE __in DEVICE_REGISTRY_PROPERTY DeviceProperty
_Must_inspect_result_ __in WDFDEVICE __in BOOLEAN __in_opt PVOID __in LONG __in PSTR File
__in WDFDEVICE __in PWDF_DEVICE_PNP_CAPABILITIES PnpCapabilities
FxObjectHandleGetPtrAndGlobals(GetFxDriverGlobals(DriverGlobals), Device, FX_TYPE_DEVICE,(PVOID *) &pDevice, &pFxDriverGlobals)
_Must_inspect_result_ __in WDFDEVICE __in ULONG __in ACCESS_MASK __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFKEY * Key
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ _Strict_type_match_ POOL_TYPE PoolType
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR MajorFunction
FxVerifierCheckNxPoolType(pFxDriverGlobals, PoolType, pFxDriverGlobals->Tag)
_Must_inspect_result_ __inout PWDFDEVICE_INIT * DeviceInit
_Must_inspect_result_ __in WDFDEVICE __in BOOLEAN WaitForD0
_Must_inspect_result_ __in WDFDEVICE __in DEVICE_REGISTRY_PROPERTY __in ULONG BufferLength
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER Driver
_Must_inspect_result_ __in WDFDEVICE __in WDFQUEUE Queue
_Must_inspect_result_ __in WDFDEVICE __in ULONG __in ACCESS_MASK DesiredAccess
_Must_inspect_result_ __in WDFDEVICE __in DEVICE_REGISTRY_PROPERTY __in __in_opt PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
BOOLEAN armForWakeIfChildrenAreArmedForWake
_Must_inspect_result_ __in WDFDEVICE __in BOOLEAN __in_opt PVOID __in LONG Line
#define OFFSET_AND_NAME(type, offset)
_Must_inspect_result_ __in WDFDEVICE __in DEVICE_REGISTRY_PROPERTY __in __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFMEMORY * PropertyMemory
_Must_inspect_result_ __in WDFDEVICE __in WDFREQUEST Request
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG _Out_ PDEVPROPTYPE Type
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR _In_ PFN_WDFDEVICE_WDM_IRP_DISPATCH EvtDeviceWdmIrpDispatch
_Must_inspect_result_ __in WDFDEVICE __in BOOLEAN __in_opt PVOID Tag
FxDeviceBase * pDeviceBase
PFX_DRIVER_GLOBALS pFxDriverGlobals
FxVerifierDbgBreakPoint(pFxDriverGlobals)
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
#define FX_VF_FUNCTION(fnName)
#define FxPointerNotNull(FxDriverGlobals, Ptr)
@ FX_VALIDATE_OPTION_SYNCHRONIZATION_SCOPE_ALLOWED
@ FX_VALIDATE_OPTION_EXECUTION_LEVEL_ALLOWED
@ FX_VALIDATE_OPTION_PARENT_NOT_ALLOWED
_Must_inspect_result_ NTSTATUS __inline FxValidateUnicodeString(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PCUNICODE_STRING String)
_Must_inspect_result_ NTSTATUS FxValidateObjectAttributes(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PWDF_OBJECT_ATTRIBUTES Attributes, __in ULONG Flags=FX_VALIDATE_OPTION_NONE_SPECIFIED)
__inline NTSTATUS FxVerifierCheckIrqlLevel(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in KIRQL Irql)
#define _Must_inspect_result_
#define _Strict_type_match_
_In_ ULONG _In_ ULONG Offset
#define STATUS_INVALID_SECURITY_DESCR
#define IRP_MJ_DEVICE_CONTROL
#define __out_bcount_full(size)
#define TRACE_LEVEL_WARNING
#define TRACE_LEVEL_VERBOSE
#define TRACE_LEVEL_ERROR
#define TRACE_LEVEL_INFORMATION
__nullterminated PCHAR Name
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_INVALID_PARAMETER
#define STATUS_INVALID_DEVICE_STATE
#define STATUS_INFO_LENGTH_MISMATCH
#define STATUS_INSUFFICIENT_RESOURCES
struct _WDF_DEVICE_POWER_POLICY_WAKE_SETTINGS_V1_5 WDF_DEVICE_POWER_POLICY_WAKE_SETTINGS_V1_5
_Must_inspect_result_ _In_ WDFDEVICE Device
_Must_inspect_result_ _In_ WDFDRIVER Driver
_In_ PWDFDEVICE_INIT DeviceInit
#define WDF_PTR_ADD_OFFSET(_ptr, _offset)
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes
@ WakeDoNotAllowUserControl
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * PropertyMemory
_In_ UCHAR _In_ UCHAR _In_ ULONG _In_ WDFCONTEXT DriverContext
_In_ WDFDEVICE _Out_ PWDF_DEVICE_STATE DeviceState
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
EVT_WDFDEVICE_WDM_IRP_DISPATCH * PFN_WDFDEVICE_WDM_IRP_DISPATCH
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
_In_ WDFDEVICE _In_ ULONG AlignmentRequirement
@ WDF_DISPATCH_IRP_TO_IO_QUEUE_NO_FLAGS
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG DeviceInstanceKeyType
enum _WDF_REQUEST_TYPE WDF_REQUEST_TYPE
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
enum _WDF_DEVICE_POWER_STATE WDF_DEVICE_POWER_STATE
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings
@ WdfDeviceFailedNoRestart
@ WdfDeviceFailedAttemptRestart
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN WaitForD0
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING SymbolicLinkName
_In_ WDFDEVICE _In_ WDF_DEVICE_FAILED_ACTION FailedAction
@ WdfRequestTypeDeviceControlInternal
@ WdfRequestTypeDeviceControl
enum _WDF_DEVICE_POWER_POLICY_STATE WDF_DEVICE_POWER_POLICY_STATE
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
@ IdleDoNotAllowUserControl
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize
_Must_inspect_result_ _Inout_ PWDFDEVICE_INIT _In_opt_ PWDF_OBJECT_ATTRIBUTES DeviceAttributes
_In_ WDFDEVICE _In_ PWDF_DEVICE_PNP_CAPABILITIES PnpCapabilities
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING KeyName
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
enum _WDF_DEVICE_PNP_STATE WDF_DEVICE_PNP_STATE
_In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_CAPABILITIES PowerCapabilities
@ SystemManagedIdleTimeoutWithHint
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFQUEUE _In_ _Strict_type_match_ WDF_REQUEST_TYPE RequestType
_In_ WDFDEVICE _In_ BOOLEAN Stoppable
enum _WDF_DEVICE_FAILED_ACTION WDF_DEVICE_FAILED_ACTION
_In_ WDFDEVICE _In_ ULONG DeviceCharacteristics
@ IdleUsbSelectiveSuspend
enum _WDF_TRI_STATE WDF_TRI_STATE
_Must_inspect_result_ _In_ ULONG Flags
#define IRP_MJ_INTERNAL_DEVICE_CONTROL
#define PAGED_CODE_LOCKED()