ReactOS  0.4.15-dev-1647-g91fceab
wdfdevice.h File Reference
#include <devpropdef.h>
#include <wdmsec.h>
Include dependency graph for wdfdevice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _WDF_FILEOBJECT_CONFIG
 
struct  _WDF_DEVICE_PNP_NOTIFICATION_DATA
 
struct  _WDF_DEVICE_POWER_NOTIFICATION_DATA
 
struct  _WDF_DEVICE_POWER_POLICY_NOTIFICATION_DATA
 
struct  _WDF_PNPPOWER_EVENT_CALLBACKS
 
struct  _WDF_POWER_POLICY_EVENT_CALLBACKS
 
struct  _WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS
 
struct  _WDF_DEVICE_POWER_POLICY_WAKE_SETTINGS
 
struct  _WDF_DEVICE_STATE
 
struct  _WDF_DEVICE_PNP_CAPABILITIES
 
struct  _WDF_DEVICE_POWER_CAPABILITIES
 
struct  _WDF_REMOVE_LOCK_OPTIONS
 
struct  _WDF_POWER_FRAMEWORK_SETTINGS
 
struct  _WDF_IO_TYPE_CONFIG
 
struct  _WDF_DEVICE_PROPERTY_DATA
 

Macros

#define WDF_EXTERN_C
 
#define WDF_EXTERN_C_START
 
#define WDF_EXTERN_C_END
 
#define WDF_S0_IDLE_ENABLED_VALUE_NAME   L"IdleInWorkingState"
 
#define WDF_SX_WAKE_ENABLED_VALUE_NAME   L"WakeFromSleepState"
 
#define WDF_S0_IDLE_DEFAULT_VALUE_NAME   L"WdfDefaultIdleInWorkingState"
 
#define WDF_SX_WAKE_DEFAULT_VALUE_NAME   L"WdfDefaultWakeFromSleepState"
 
#define IdleTimeoutDefaultValue   ((ULONG) IdleTimeoutDefaultConstant)
 
#define WdfDeviceStopIdle(Device, WaitForD0)   WdfDeviceStopIdleWithTag(Device, WaitForD0, NULL)
 
#define WdfDeviceStopIdleWithTag(Device, WaitForD0, Tag)   WdfDeviceStopIdleActual(Device, WaitForD0, Tag, __LINE__, __FILE__)
 
#define WdfDeviceResumeIdle(Device)   WdfDeviceResumeIdleWithTag(Device, NULL)
 
#define WdfDeviceResumeIdleWithTag(Device, Tag)   WdfDeviceResumeIdleActual(Device, Tag, __LINE__, __FILE__)
 

Typedefs

typedef WDF_EXTERN_C_START enum _WDF_DEVICE_STATE_FLAGS WDF_DEVICE_STATE_FLAGS
 
typedef enum _WDF_DEVICE_PNP_STATE WDF_DEVICE_PNP_STATE
 
typedef enum _WDF_DEVICE_PNP_STATEPWDF_DEVICE_PNP_STATE
 
typedef enum _WDF_DEVICE_POWER_STATE WDF_DEVICE_POWER_STATE
 
typedef enum _WDF_DEVICE_POWER_STATEPWDF_DEVICE_POWER_STATE
 
typedef enum _WDF_DEVICE_POWER_POLICY_STATE WDF_DEVICE_POWER_POLICY_STATE
 
typedef enum _WDF_DEVICE_POWER_POLICY_STATEPWDF_DEVICE_POWER_POLICY_STATE
 
typedef enum _WDF_STATE_NOTIFICATION_TYPE WDF_STATE_NOTIFICATION_TYPE
 
typedef enum _WDF_POWER_POLICY_S0_IDLE_CAPABILITIES WDF_POWER_POLICY_S0_IDLE_CAPABILITIES
 
typedef enum _WDF_POWER_POLICY_S0_IDLE_USER_CONTROL WDF_POWER_POLICY_S0_IDLE_USER_CONTROL
 
typedef enum _WDF_POWER_POLICY_IDLE_TIMEOUT_CONSTANTS WDF_POWER_POLICY_IDLE_TIMEOUT_CONSTANTS
 
typedef enum _WDF_POWER_POLICY_SX_WAKE_USER_CONTROL WDF_POWER_POLICY_SX_WAKE_USER_CONTROL
 
typedef enum _WDF_POWER_DEVICE_STATE WDF_POWER_DEVICE_STATE
 
typedef enum _WDF_POWER_DEVICE_STATEPWDF_POWER_DEVICE_STATE
 
typedef enum _WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS
 
typedef enum _WDF_SPECIAL_FILE_TYPE WDF_SPECIAL_FILE_TYPE
 
typedef enum _WDF_SPECIAL_FILE_TYPEPWDF_SPECIAL_FILE_TYPE
 
typedef enum _WDF_DEVICE_IO_TYPE WDF_DEVICE_IO_TYPE
 
typedef enum _WDF_DEVICE_IO_TYPEPWDF_DEVICE_IO_TYPE
 
typedef enum _WDF_FILEOBJECT_CLASS WDF_FILEOBJECT_CLASS
 
typedef enum _WDF_FILEOBJECT_CLASSPWDF_FILEOBJECT_CLASS
 
typedef enum _WDF_DEVICE_FAILED_ACTION WDF_DEVICE_FAILED_ACTION
 
typedef enum _WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE
 
typedef enum _WDF_RELEASE_HARDWARE_ORDER_ON_FAILUREPWDF_RELEASE_HARDWARE_ORDER_ON_FAILURE
 
typedef enum _WDF_REQUEST_TYPE WDF_REQUEST_TYPE
 
typedef _In_ WDFREQUEST Request
 
typedef _In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
 
typedef EVT_WDF_DEVICE_FILE_CREATE * PFN_WDF_DEVICE_FILE_CREATE
 
typedef EVT_WDF_FILE_CLOSE * PFN_WDF_FILE_CLOSE
 
typedef EVT_WDF_FILE_CLEANUP * PFN_WDF_FILE_CLEANUP
 
typedef struct _WDF_FILEOBJECT_CONFIG WDF_FILEOBJECT_CONFIG
 
typedef struct _WDF_FILEOBJECT_CONFIGPWDF_FILEOBJECT_CONFIG
 
typedef struct _WDF_DEVICE_PNP_NOTIFICATION_DATA WDF_DEVICE_PNP_NOTIFICATION_DATA
 
typedef const WDF_DEVICE_PNP_NOTIFICATION_DATAPCWDF_DEVICE_PNP_NOTIFICATION_DATA
 
typedef struct _WDF_DEVICE_POWER_NOTIFICATION_DATA WDF_DEVICE_POWER_NOTIFICATION_DATA
 
typedef const WDF_DEVICE_POWER_NOTIFICATION_DATAPCWDF_DEVICE_POWER_NOTIFICATION_DATA
 
typedef struct _WDF_DEVICE_POWER_POLICY_NOTIFICATION_DATA WDF_DEVICE_POWER_POLICY_NOTIFICATION_DATA
 
typedef const WDF_DEVICE_POWER_POLICY_NOTIFICATION_DATAPCWDF_DEVICE_POWER_POLICY_NOTIFICATION_DATA
 
typedef _In_ PCWDF_DEVICE_PNP_NOTIFICATION_DATA NotificationData
 
typedef EVT_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION * PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION
 
typedef EVT_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION * PFN_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION
 
typedef EVT_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION * PFN_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION
 
typedef _In_ WDF_POWER_DEVICE_STATE PreviousState
 
typedef EVT_WDF_DEVICE_D0_ENTRY * PFN_WDF_DEVICE_D0_ENTRY
 
typedef EVT_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED * PFN_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED
 
typedef _In_ WDF_POWER_DEVICE_STATE TargetState
 
typedef EVT_WDF_DEVICE_D0_EXIT * PFN_WDF_DEVICE_D0_EXIT
 
typedef EVT_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED * PFN_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED
 
typedef _In_ WDFCMRESLIST ResourcesRaw
 
typedef _In_ WDFCMRESLIST _In_ WDFCMRESLIST ResourcesTranslated
 
typedef EVT_WDF_DEVICE_PREPARE_HARDWARE * PFN_WDF_DEVICE_PREPARE_HARDWARE
 
typedef EVT_WDF_DEVICE_RELEASE_HARDWARE * PFN_WDF_DEVICE_RELEASE_HARDWARE
 
typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP * PFN_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP
 
typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_FLUSH * PFN_WDF_DEVICE_SELF_MANAGED_IO_FLUSH
 
typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_INIT * PFN_WDF_DEVICE_SELF_MANAGED_IO_INIT
 
typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND * PFN_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND
 
typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_RESTART * PFN_WDF_DEVICE_SELF_MANAGED_IO_RESTART
 
typedef EVT_WDF_DEVICE_QUERY_STOP * PFN_WDF_DEVICE_QUERY_STOP
 
typedef EVT_WDF_DEVICE_QUERY_REMOVE * PFN_WDF_DEVICE_QUERY_REMOVE
 
typedef EVT_WDF_DEVICE_SURPRISE_REMOVAL * PFN_WDF_DEVICE_SURPRISE_REMOVAL
 
typedef _In_ WDF_SPECIAL_FILE_TYPE NotificationType
 
typedef _In_ WDF_SPECIAL_FILE_TYPE _In_ BOOLEAN IsInNotificationPath
 
typedef EVT_WDF_DEVICE_USAGE_NOTIFICATION * PFN_WDF_DEVICE_USAGE_NOTIFICATION
 
typedef EVT_WDF_DEVICE_USAGE_NOTIFICATION_EX * PFN_WDF_DEVICE_USAGE_NOTIFICATION_EX
 
typedef _In_ DEVICE_RELATION_TYPE RelationType
 
typedef EVT_WDF_DEVICE_RELATIONS_QUERY * PFN_WDF_DEVICE_RELATIONS_QUERY
 
typedef EVT_WDF_DEVICE_ARM_WAKE_FROM_S0 * PFN_WDF_DEVICE_ARM_WAKE_FROM_S0
 
typedef EVT_WDF_DEVICE_ARM_WAKE_FROM_SX * PFN_WDF_DEVICE_ARM_WAKE_FROM_SX
 
typedef _In_ BOOLEAN DeviceWakeEnabled
 
typedef _In_ BOOLEAN _In_ BOOLEAN ChildrenArmedForWake
 
typedef EVT_WDF_DEVICE_ARM_WAKE_FROM_SX_WITH_REASON * PFN_WDF_DEVICE_ARM_WAKE_FROM_SX_WITH_REASON
 
typedef EVT_WDF_DEVICE_DISARM_WAKE_FROM_S0 * PFN_WDF_DEVICE_DISARM_WAKE_FROM_S0
 
typedef EVT_WDF_DEVICE_DISARM_WAKE_FROM_SX * PFN_WDF_DEVICE_DISARM_WAKE_FROM_SX
 
typedef EVT_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED * PFN_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED
 
typedef EVT_WDF_DEVICE_WAKE_FROM_SX_TRIGGERED * PFN_WDF_DEVICE_WAKE_FROM_SX_TRIGGERED
 
typedef struct _WDF_PNPPOWER_EVENT_CALLBACKS WDF_PNPPOWER_EVENT_CALLBACKS
 
typedef struct _WDF_PNPPOWER_EVENT_CALLBACKSPWDF_PNPPOWER_EVENT_CALLBACKS
 
typedef struct _WDF_POWER_POLICY_EVENT_CALLBACKS WDF_POWER_POLICY_EVENT_CALLBACKS
 
typedef struct _WDF_POWER_POLICY_EVENT_CALLBACKSPWDF_POWER_POLICY_EVENT_CALLBACKS
 
typedef enum _WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE
 
typedef enum _WDF_POWER_POLICY_IDLE_TIMEOUT_TYPEPWDF_POWER_POLICY_IDLE_TIMEOUT_TYPE
 
typedef struct _WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS
 
typedef struct _WDF_DEVICE_POWER_POLICY_IDLE_SETTINGSPWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS
 
typedef struct _WDF_DEVICE_POWER_POLICY_WAKE_SETTINGS WDF_DEVICE_POWER_POLICY_WAKE_SETTINGS
 
typedef struct _WDF_DEVICE_POWER_POLICY_WAKE_SETTINGSPWDF_DEVICE_POWER_POLICY_WAKE_SETTINGS
 
typedef struct _WDF_DEVICE_STATE WDF_DEVICE_STATE
 
typedef struct _WDF_DEVICE_STATEPWDF_DEVICE_STATE
 
typedef struct _WDF_DEVICE_PNP_CAPABILITIES WDF_DEVICE_PNP_CAPABILITIES
 
typedef struct _WDF_DEVICE_PNP_CAPABILITIESPWDF_DEVICE_PNP_CAPABILITIES
 
typedef struct _WDF_DEVICE_POWER_CAPABILITIES WDF_DEVICE_POWER_CAPABILITIES
 
typedef struct _WDF_DEVICE_POWER_CAPABILITIESPWDF_DEVICE_POWER_CAPABILITIES
 
typedef enum _WDF_REMOVE_LOCK_OPTIONS_FLAGS WDF_REMOVE_LOCK_OPTIONS_FLAGS
 
typedef struct _WDF_REMOVE_LOCK_OPTIONS WDF_REMOVE_LOCK_OPTIONS
 
typedef struct _WDF_REMOVE_LOCK_OPTIONSPWDF_REMOVE_LOCK_OPTIONS
 
typedef _Inout_ PIRP Irp
 
typedef EVT_WDFDEVICE_WDM_IRP_PREPROCESS * PFN_WDFDEVICE_WDM_IRP_PREPROCESS
 
typedef _In_ UCHAR MajorFunction
 
typedef _In_ UCHAR _In_ UCHAR MinorFunction
 
typedef _In_ UCHAR _In_ UCHAR _In_ ULONG Code
 
typedef _In_ UCHAR _In_ UCHAR _In_ ULONG _In_ WDFCONTEXT DriverContext
 
typedef _In_ UCHAR _In_ UCHAR _In_ ULONG _In_ WDFCONTEXT _Inout_ PIRP _In_ WDFCONTEXT DispatchContext
 
typedef EVT_WDFDEVICE_WDM_IRP_DISPATCH * PFN_WDFDEVICE_WDM_IRP_DISPATCH
 
typedef EVT_WDF_IO_IN_CALLER_CONTEXT * PFN_WDF_IO_IN_CALLER_CONTEXT
 
typedef _In_ POHANDLE PoHandle
 
typedef EVT_WDFDEVICE_WDM_POST_PO_FX_REGISTER_DEVICE * PFN_WDFDEVICE_WDM_POST_PO_FX_REGISTER_DEVICE
 
typedef EVT_WDFDEVICE_WDM_PRE_PO_FX_UNREGISTER_DEVICE * PFN_WDFDEVICE_WDM_PRE_PO_FX_UNREGISTER_DEVICE
 
typedef struct _WDF_POWER_FRAMEWORK_SETTINGS WDF_POWER_FRAMEWORK_SETTINGS
 
typedef struct _WDF_POWER_FRAMEWORK_SETTINGSPWDF_POWER_FRAMEWORK_SETTINGS
 
typedef struct _WDF_IO_TYPE_CONFIG WDF_IO_TYPE_CONFIG
 
typedef struct _WDF_IO_TYPE_CONFIGPWDF_IO_TYPE_CONFIG
 
typedef struct _WDF_DEVICE_PROPERTY_DATA WDF_DEVICE_PROPERTY_DATA
 
typedef struct _WDF_DEVICE_PROPERTY_DATAPWDF_DEVICE_PROPERTY_DATA
 
typedef _In_ WDFDEVICE Device
 
typedef _In_ WDFDEVICE _Out_ PWDF_DEVICE_STATE DeviceState
 
typedef _In_ PDEVICE_OBJECT DeviceObject
 
typedef _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFDEVICEWDMDISPATCHPREPROCESSEDIRP) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE _In_ ULONG Flags
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT DependentDevice
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT PhysicalDevice
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING MofResourceName
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG DeviceInstanceKeyType
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFKEY * Key
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING KeyName
 
typedef _In_ WDFDEVICE _In_ WDF_SPECIAL_FILE_TYPE FileType
 
typedef _In_ WDFDEVICE _In_ WDF_SPECIAL_FILE_TYPE _In_ BOOLEAN FileTypeIsSupported
 
typedef _In_ WDFDEVICE _In_ ULONG DeviceCharacteristics
 
typedef _In_ WDFDEVICE _In_ ULONG AlignmentRequirement
 
typedef _In_ PWDFDEVICE_INIT DeviceInit
 
typedef _In_ PWDFDEVICE_INIT _In_ PWDF_PNPPOWER_EVENT_CALLBACKS PnpPowerEventCallbacks
 
typedef _In_ PWDFDEVICE_INIT _In_ PWDF_POWER_POLICY_EVENT_CALLBACKS PowerPolicyEventCallbacks
 
typedef _In_ PWDFDEVICE_INIT _In_ BOOLEAN IsPowerPolicyOwner
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE PnpState
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE _In_ PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION EvtDevicePnpStateChange
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE _In_ PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION _In_ ULONG CallbackTypes
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE _In_ PFN_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION EvtDevicePowerStateChange
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_POLICY_STATE PowerPolicyState
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_POLICY_STATE _In_ PFN_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION EvtDevicePowerPolicyStateChange
 
typedef _In_ PWDFDEVICE_INIT _In_ BOOLEAN IsExclusive
 
typedef _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_IO_TYPE IoType
 
typedef _In_ PWDFDEVICE_INIT _In_ DEVICE_TYPE DeviceType
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING SDDLString
 
typedef _In_ PWDFDEVICE_INIT _In_ CONST GUIDDeviceClassGuid
 
typedef _In_ PWDFDEVICE_INIT _In_ ULONG _In_ BOOLEAN OrInValues
 
typedef _In_ PWDFDEVICE_INIT _In_ PWDF_FILEOBJECT_CONFIG FileObjectConfig
 
typedef _In_ PWDFDEVICE_INIT _In_ PWDF_FILEOBJECT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES FileObjectAttributes
 
typedef _In_ PWDFDEVICE_INIT _In_ PWDF_OBJECT_ATTRIBUTES RequestAttributes
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS EvtDeviceWdmIrpPreprocess
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _When_(NumMinorFunctions > 0, _In_reads_bytes_(NumMinorFunctions)) _When_(NumMinorFunctions == 0
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _In_opt_ PUCHAR MinorFunctions
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _In_opt_ PUCHAR _In_ ULONG NumMinorFunctions
 
typedef _In_ PWDFDEVICE_INIT _In_ PFN_WDF_IO_IN_CALLER_CONTEXT EvtIoInCallerContext
 
typedef _In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
 
typedef _Must_inspect_result_ _Inout_ PWDFDEVICE_INIT _In_opt_ PWDF_OBJECT_ATTRIBUTES DeviceAttributes
 
typedef _In_ WDFDEVICE _In_ BOOLEAN Stoppable
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUIDInterfaceClassGUID
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING ReferenceString
 
typedef _In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING _In_ BOOLEAN IsInterfaceEnabled
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING SymbolicLinkName
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_writes_bytes_all_(BufferLength) PVOID PropertyBuffer
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * PropertyMemory
 
typedef _In_ WDFDEVICE _In_ PWDF_DEVICE_PNP_CAPABILITIES PnpCapabilities
 
typedef _In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_CAPABILITIES PowerCapabilities
 
typedef _In_ WDFDEVICE _In_ PPNP_BUS_INFORMATION BusInformation
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ NTSTATUS WaitWakeStatus
 
typedef _In_ WDFDEVICE _In_ WDF_DEVICE_FAILED_ACTION FailedAction
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN WaitForD0
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID _In_ LONG Line
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID _In_ LONG _In_z_ PCHAR File
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ WDFQUEUE _In_ _Strict_type_match_ WDF_REQUEST_TYPE RequestType
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER Driver
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR _In_ PFN_WDFDEVICE_WDM_IRP_DISPATCH EvtDeviceWdmIrpDisptach
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_POWER_FRAMEWORK_SETTINGS PowerFrameworkSettings
 
typedef _In_ PWDFDEVICE_INIT _In_ WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE ReleaseHardwareOrderOnFailure
 
typedef _In_ PWDFDEVICE_INIT _In_ PWDF_IO_TYPE_CONFIG IoTypeConfig
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG _Out_ PDEVPROPTYPE Type
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG _In_opt_ PVOID Data
 

Enumerations

enum  _WDF_DEVICE_STATE_FLAGS { WdfDevStateNP = 0x8000 }
 
enum  _WDF_DEVICE_PNP_STATE {
  WdfDevStatePnpInvalid = 0x00, WdfDevStatePnpObjectCreated = 0x100, WdfDevStatePnpCheckForDevicePresence = 0x101, WdfDevStatePnpEjectFailed = 0x102,
  WdfDevStatePnpEjectHardware = 0x103, WdfDevStatePnpEjectedWaitingForRemove = 0x104, WdfDevStatePnpInit = 0x105, WdfDevStatePnpInitStarting = 0x106,
  WdfDevStatePnpInitSurpriseRemoved = 0x107, WdfDevStatePnpHardwareAvailable = 0x108, WdfDevStatePnpEnableInterfaces = 0x109, WdfDevStatePnpHardwareAvailablePowerPolicyFailed = 0x10A,
  WdfDevStatePnpQueryRemoveAskDriver = 0x10B, WdfDevStatePnpQueryRemovePending = 0x10C, WdfDevStatePnpQueryRemoveStaticCheck = 0x10D, WdfDevStatePnpQueriedRemoving = 0x10E,
  WdfDevStatePnpQueryStopAskDriver = 0x10F, WdfDevStatePnpQueryStopPending = 0x110, WdfDevStatePnpQueryStopStaticCheck = 0x111, WdfDevStatePnpQueryCanceled = 0x112,
  WdfDevStatePnpRemoved = 0x113, WdfDevStatePnpPdoRemoved = 0x114, WdfDevStatePnpRemovedPdoWait = 0x115, WdfDevStatePnpRemovedPdoSurpriseRemoved = 0x116,
  WdfDevStatePnpRemovingDisableInterfaces = 0x117, WdfDevStatePnpRestarting = 0x118, WdfDevStatePnpStarted = 0x119, WdfDevStatePnpStartedCancelStop = 0x11A,
  WdfDevStatePnpStartedCancelRemove = 0x11B, WdfDevStatePnpStartedRemoving = 0x11C, WdfDevStatePnpStartingFromStopped = 0x11D, WdfDevStatePnpStopped = 0x11E,
  WdfDevStatePnpStoppedWaitForStartCompletion = 0x11F, WdfDevStatePnpStartedStopping = 0x120, WdfDevStatePnpSurpriseRemove = 0x121, WdfDevStatePnpInitQueryRemove = 0x122,
  WdfDevStatePnpInitQueryRemoveCanceled = 0x123, WdfDevStatePnpFdoRemoved = 0x124, WdfDevStatePnpRemovedWaitForChildren = 0x125, WdfDevStatePnpQueriedSurpriseRemove = 0x126,
  WdfDevStatePnpSurpriseRemoveIoStarted = 0x127, WdfDevStatePnpFailedPowerDown = 0x128, WdfDevStatePnpFailedIoStarting = 0x129, WdfDevStatePnpFailedOwnHardware = 0x12A,
  WdfDevStatePnpFailed = 0x12B, WdfDevStatePnpFailedSurpriseRemoved = 0x12C, WdfDevStatePnpFailedStarted = 0x12D, WdfDevStatePnpFailedWaitForRemove = 0x12E,
  WdfDevStatePnpFailedInit = 0x12F, WdfDevStatePnpPdoInitFailed = 0x130, WdfDevStatePnpRestart = 0x131, WdfDevStatePnpRestartReleaseHardware = 0x132,
  WdfDevStatePnpRestartHardwareAvailable = 0x133, WdfDevStatePnpPdoRestart = 0x134, WdfDevStatePnpFinal = 0x135, WdfDevStatePnpRemovedChildrenRemoved = 0x136,
  WdfDevStatePnpQueryRemoveEnsureDeviceAwake = 0x137, WdfDevStatePnpQueryStopEnsureDeviceAwake = 0x138, WdfDevStatePnpFailedPowerPolicyRemoved = 0x139, WdfDevStatePnpNull = 0x13A
}
 
enum  _WDF_DEVICE_POWER_STATE {
  WdfDevStatePowerInvalid = 0x00, WdfDevStatePowerObjectCreated = 0x300, WdfDevStatePowerCheckDeviceType = 0x301, WdfDevStatePowerCheckDeviceTypeNP = 0x302 | WdfDevStateNP,
  WdfDevStatePowerCheckParentState = 0x303, WdfDevStatePowerCheckParentStateNP = 0x304 | WdfDevStateNP, WdfDevStatePowerEnablingWakeAtBus = 0x305, WdfDevStatePowerEnablingWakeAtBusNP = 0x306 | WdfDevStateNP,
  WdfDevStatePowerD0 = 0x307, WdfDevStatePowerD0NP = 0x308 | WdfDevStateNP, WdfDevStatePowerD0BusWakeOwner = 0x309, WdfDevStatePowerD0BusWakeOwnerNP = 0x30A | WdfDevStateNP,
  WdfDevStatePowerD0ArmedForWake = 0x30B, WdfDevStatePowerD0ArmedForWakeNP = 0x30C | WdfDevStateNP, WdfDevStatePowerD0DisarmingWakeAtBus = 0x30D, WdfDevStatePowerD0DisarmingWakeAtBusNP = 0x30E | WdfDevStateNP,
  WdfDevStatePowerD0Starting = 0x30F, WdfDevStatePowerD0StartingConnectInterrupt = 0x310, WdfDevStatePowerD0StartingDmaEnable = 0x311, WdfDevStatePowerD0StartingStartSelfManagedIo = 0x312,
  WdfDevStatePowerDecideD0State = 0x313, WdfDevStatePowerGotoD3Stopped = 0x314, WdfDevStatePowerStopped = 0x315, WdfDevStatePowerStartingCheckDeviceType = 0x316,
  WdfDevStatePowerStartingChild = 0x317, WdfDevStatePowerDxDisablingWakeAtBus = 0x318, WdfDevStatePowerDxDisablingWakeAtBusNP = 0x319 | WdfDevStateNP, WdfDevStatePowerGotoDx = 0x31A,
  WdfDevStatePowerGotoDxNP = 0x31B | WdfDevStateNP, WdfDevStatePowerGotoDxIoStopped = 0x31C, WdfDevStatePowerGotoDxIoStoppedNP = 0x31D | WdfDevStateNP, WdfDevStatePowerGotoDxNPFailed = 0x31E | WdfDevStateNP,
  WdfDevStatePowerDx = 0x31F, WdfDevStatePowerDxNP = 0x320 | WdfDevStateNP, WdfDevStatePowerGotoDxArmedForWake = 0x321, WdfDevStatePowerGotoDxArmedForWakeNP = 0x322 | WdfDevStateNP,
  WdfDevStatePowerGotoDxIoStoppedArmedForWake = 0x323, WdfDevStatePowerGotoDxIoStoppedArmedForWakeNP = 0x324 | WdfDevStateNP, WdfDevStatePowerDxArmedForWake = 0x325, WdfDevStatePowerDxArmedForWakeNP = 0x326 | WdfDevStateNP,
  WdfDevStatePowerCheckParentStateArmedForWake = 0x327, WdfDevStatePowerCheckParentStateArmedForWakeNP = 0x328 | WdfDevStateNP, WdfDevStatePowerWaitForParentArmedForWake = 0x329, WdfDevStatePowerWaitForParentArmedForWakeNP = 0x32A | WdfDevStateNP,
  WdfDevStatePowerStartSelfManagedIo = 0x32B, WdfDevStatePowerStartSelfManagedIoNP = 0x32C | WdfDevStateNP, WdfDevStatePowerStartSelfManagedIoFailed = 0x32D, WdfDevStatePowerStartSelfManagedIoFailedNP = 0x32E | WdfDevStateNP,
  WdfDevStatePowerWaitForParent = 0x32F, WdfDevStatePowerWaitForParentNP = 0x330 | WdfDevStateNP, WdfDevStatePowerWakePending = 0x331, WdfDevStatePowerWakePendingNP = 0x332 | WdfDevStateNP,
  WdfDevStatePowerWaking = 0x333, WdfDevStatePowerWakingNP = 0x334 | WdfDevStateNP, WdfDevStatePowerWakingConnectInterrupt = 0x335, WdfDevStatePowerWakingConnectInterruptNP = 0x336 | WdfDevStateNP,
  WdfDevStatePowerWakingConnectInterruptFailed = 0x337, WdfDevStatePowerWakingConnectInterruptFailedNP = 0x338 | WdfDevStateNP, WdfDevStatePowerWakingDmaEnable = 0x339, WdfDevStatePowerWakingDmaEnableNP = 0x33A | WdfDevStateNP,
  WdfDevStatePowerWakingDmaEnableFailed = 0x33B, WdfDevStatePowerWakingDmaEnableFailedNP = 0x33C | WdfDevStateNP, WdfDevStatePowerReportPowerUpFailedDerefParent = 0x33D, WdfDevStatePowerReportPowerUpFailed = 0x33E,
  WdfDevStatePowerPowerFailedPowerDown = 0x33F, WdfDevStatePowerReportPowerDownFailed = 0x340, WdfDevStatePowerInitialConnectInterruptFailed = 0x341, WdfDevStatePowerInitialDmaEnableFailed = 0x342,
  WdfDevStatePowerInitialSelfManagedIoFailed = 0x343, WdfDevStatePowerInitialPowerUpFailedDerefParent = 0x344, WdfDevStatePowerInitialPowerUpFailed = 0x345, WdfDevStatePowerDxStoppedDisarmWake = 0x346,
  WdfDevStatePowerDxStoppedDisarmWakeNP = 0x347 | WdfDevStateNP, WdfDevStatePowerGotoDxStoppedDisableInterruptNP = 0x348 | WdfDevStateNP, WdfDevStatePowerGotoDxStopped = 0x349, WdfDevStatePowerDxStopped = 0x34A,
  WdfDevStatePowerGotoStopped = 0x34B, WdfDevStatePowerStoppedCompleteDx = 0x34C, WdfDevStatePowerDxStoppedDecideDxState = 0x34D, WdfDevStatePowerDxStoppedArmForWake = 0x34E,
  WdfDevStatePowerDxStoppedArmForWakeNP = 0x34F | WdfDevStateNP, WdfDevStatePowerFinalPowerDownFailed = 0x350, WdfDevStatePowerFinal = 0x351, WdfDevStatePowerGotoImplicitD3DisarmWakeAtBus = 0x352,
  WdfDevStatePowerUpFailed = 0x353, WdfDevStatePowerUpFailedDerefParent = 0x354, WdfDevStatePowerGotoDxFailed = 0x355, WdfDevStatePowerGotoDxStoppedDisableInterrupt = 0x356,
  WdfDevStatePowerUpFailedNP = 0x357 | WdfDevStateNP, WdfDevStatePowerUpFailedDerefParentNP = 0x358 | WdfDevStateNP, WdfDevStatePowerNotifyingD0ExitToWakeInterrupts = 0x359, WdfDevStatePowerNotifyingD0EntryToWakeInterrupts = 0x35A,
  WdfDevStatePowerNotifyingD0ExitToWakeInterruptsNP = 0x35B | WdfDevStateNP, WdfDevStatePowerNotifyingD0EntryToWakeInterruptsNP = 0x35C | WdfDevStateNP, WdfDevStatePowerNull = 0x35D
}
 
enum  _WDF_DEVICE_POWER_POLICY_STATE {
  WdfDevStatePwrPolInvalid = 0x00, WdfDevStatePwrPolObjectCreated = 0x500, WdfDevStatePwrPolStarting = 0x501, WdfDevStatePwrPolStartingSucceeded = 0x502,
  WdfDevStatePwrPolStartingFailed = 0x503, WdfDevStatePwrPolStartingDecideS0Wake = 0x504, WdfDevStatePwrPolStartedIdleCapable = 0x505, WdfDevStatePwrPolTimerExpiredNoWake = 0x506,
  WdfDevStatePwrPolTimerExpiredNoWakeCompletePowerDown = 0x507, WdfDevStatePwrPolWaitingUnarmed = 0x508, WdfDevStatePwrPolWaitingUnarmedQueryIdle = 0x509, WdfDevStatePwrPolS0NoWakePowerUp = 0x50A,
  WdfDevStatePwrPolS0NoWakeCompletePowerUp = 0x50B, WdfDevStatePwrPolSystemSleepFromDeviceWaitingUnarmed = 0x50C, WdfDevStatePwrPolSystemSleepNeedWake = 0x50D, WdfDevStatePwrPolSystemSleepNeedWakeCompletePowerUp = 0x50E,
  WdfDevStatePwrPolSystemSleepPowerRequestFailed = 0x50F, WdfDevStatePwrPolCheckPowerPageable = 0x510, WdfDevStatePwrPolSleepingWakeWakeArrived = 0x511, WdfDevStatePwrPolSleepingWakeRevertArmWake = 0x512,
  WdfDevStatePwrPolSystemAsleepWakeArmed = 0x513, WdfDevStatePwrPolSystemWakeDeviceWakeEnabled = 0x514, WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceled = 0x515, WdfDevStatePwrPolSystemWakeDeviceWakeDisarm = 0x516,
  WdfDevStatePwrPolSystemWakeDeviceWakeTriggered = 0x517, WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0 = 0x518, WdfDevStatePwrPolSystemWakeDeviceWokeDisarm = 0x519, WdfDevStatePwrPolSleepingWakeWakeArrivedNP = 0x51A | WdfDevStateNP,
  WdfDevStatePwrPolSleepingWakeRevertArmWakeNP = 0x51B | WdfDevStateNP, WdfDevStatePwrPolSleepingWakePowerDownFailed = 0x51C, WdfDevStatePwrPolSleepingWakePowerDownFailedWakeCanceled = 0x51D, WdfDevStatePwrPolSystemAsleepWakeArmedNP = 0x51E | WdfDevStateNP,
  WdfDevStatePwrPolSystemWakeDeviceWakeEnabledNP = 0x51F | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceledNP = 0x520 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeDisarmNP = 0x521 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredNP = 0x522 | WdfDevStateNP,
  WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0NP = 0x523 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWokeDisarmNP = 0x524 | WdfDevStateNP, WdfDevStatePwrPolSystemWakeDeviceWakeCompletePowerUp = 0x525, WdfDevStatePwrPolSleeping = 0x526,
  WdfDevStatePwrPolSleepingNoWakePowerDown = 0x527, WdfDevStatePwrPolSleepingNoWakeCompletePowerDown = 0x528, WdfDevStatePwrPolSleepingNoWakeDxRequestFailed = 0x529, WdfDevStatePwrPolSleepingWakePowerDown = 0x52A,
  WdfDevStatePwrPolSleepingSendWake = 0x52B, WdfDevStatePwrPolSystemAsleepNoWake = 0x52C, WdfDevStatePwrPolSystemWakeDeviceWakeDisabled = 0x52D, WdfDevStatePwrPolSystemWakeDeviceToD0 = 0x52E,
  WdfDevStatePwrPolSystemWakeDeviceToD0CompletePowerUp = 0x52F, WdfDevStatePwrPolSystemWakeQueryIdle = 0x530, WdfDevStatePwrPolStartedWakeCapable = 0x531, WdfDevStatePwrPolTimerExpiredDecideUsbSS = 0x532,
  WdfDevStatePwrPolTimerExpiredWakeCapablePowerDown = 0x533, WdfDevStatePwrPolTimerExpiredWakeCapableSendWake = 0x534, WdfDevStatePwrPolTimerExpiredWakeCapableUsbSS = 0x535, WdfDevStatePwrPolTimerExpiredWakeCapableWakeArrived = 0x536,
  WdfDevStatePwrPolTimerExpiredWakeCapableCancelWake = 0x537, WdfDevStatePwrPolTimerExpiredWakeCapableWakeCanceled = 0x538, WdfDevStatePwrPolTimerExpiredWakeCapableCleanup = 0x539, WdfDevStatePwrPolTimerExpiredWakeCapableDxAllocFailed = 0x53A,
  WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDown = 0x53B, WdfDevStatePwrPolTimerExpiredWakeCompletedPowerUp = 0x53C, WdfDevStatePwrPolWaitingArmedUsbSS = 0x53D, WdfDevStatePwrPolWaitingArmed = 0x53E,
  WdfDevStatePwrPolWaitingArmedQueryIdle = 0x53F, WdfDevStatePwrPolIoPresentArmed = 0x540, WdfDevStatePwrPolIoPresentArmedWakeCanceled = 0x541, WdfDevStatePwrPolS0WakeDisarm = 0x542,
  WdfDevStatePwrPolS0WakeCompletePowerUp = 0x543, WdfDevStatePwrPolTimerExpiredWakeSucceeded = 0x544, WdfDevStatePwrPolTimerExpiredWakeCompletedDisarm = 0x545, WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceeded = 0x546,
  WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailed = 0x547, WdfDevStatePwrPolWakeFailedUsbSS = 0x548, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedCancelWake = 0x549, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeCanceled = 0x54A,
  WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedUsbSS = 0x54B, WdfDevStatePwrPolCancelingWakeForSystemSleep = 0x54C, WdfDevStatePwrPolCancelingWakeForSystemSleepWakeCanceled = 0x54D, WdfDevStatePwrPolDisarmingWakeForSystemSleepCompletePowerUp = 0x54E,
  WdfDevStatePwrPolPowerUpForSystemSleepFailed = 0x54F, WdfDevStatePwrPolWokeFromS0UsbSS = 0x550, WdfDevStatePwrPolWokeFromS0 = 0x551, WdfDevStatePwrPolWokeFromS0NotifyDriver = 0x552,
  WdfDevStatePwrPolStoppingResetDevice = 0x553, WdfDevStatePwrPolStoppingResetDeviceCompletePowerUp = 0x554, WdfDevStatePwrPolStoppingResetDeviceFailed = 0x555, WdfDevStatePwrPolStoppingD0 = 0x556,
  WdfDevStatePwrPolStoppingD0Failed = 0x557, WdfDevStatePwrPolStoppingDisarmWake = 0x558, WdfDevStatePwrPolStoppingDisarmWakeCancelWake = 0x559, WdfDevStatePwrPolStoppingDisarmWakeWakeCanceled = 0x55A,
  WdfDevStatePwrPolStopping = 0x55B, WdfDevStatePwrPolStoppingFailed = 0x55C, WdfDevStatePwrPolStoppingSendStatus = 0x55D, WdfDevStatePwrPolStoppingCancelTimer = 0x55E,
  WdfDevStatePwrPolStoppingWaitForIdleTimeout = 0x55F, WdfDevStatePwrPolStoppingCancelUsbSS = 0x560, WdfDevStatePwrPolStoppingWaitForUsbSSCompletion = 0x561, WdfDevStatePwrPolStoppingCancelWake = 0x562,
  WdfDevStatePwrPolStopped = 0x563, WdfDevStatePwrPolCancelUsbSS = 0x564, WdfDevStatePwrPolStarted = 0x565, WdfDevStatePwrPolStartedCancelTimer = 0x566,
  WdfDevStatePwrPolStartedWaitForIdleTimeout = 0x567, WdfDevStatePwrPolStartedWakeCapableCancelTimerForSleep = 0x568, WdfDevStatePwrPolStartedWakeCapableWaitForIdleTimeout = 0x569, WdfDevStatePwrPolStartedWakeCapableSleepingUsbSS = 0x56A,
  WdfDevStatePwrPolStartedIdleCapableCancelTimerForSleep = 0x56B, WdfDevStatePwrPolStartedIdleCapableWaitForIdleTimeout = 0x56C, WdfDevStatePwrPolDeviceD0PowerRequestFailed = 0x56D, WdfDevStatePwrPolDevicePowerRequestFailed = 0x56E,
  WdfDevStatePwrPolGotoDx = 0x56F, WdfDevStatePwrPolGotoDxInDx = 0x570, WdfDevStatePwrPolDx = 0x571, WdfDevStatePwrPolGotoD0 = 0x572,
  WdfDevStatePwrPolGotoD0InD0 = 0x573, WdfDevStatePwrPolFinal = 0x574, WdfDevStatePwrPolSleepingPowerDownNotProcessed = 0x575, WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownNotProcessed = 0x576,
  WdfDevStatePwrPolTimerExpiredNoWakePowerDownNotProcessed = 0x577, WdfDevStatePwrPolTimerExpiredNoWakePoweredDownDisableIdleTimer = 0x578, WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown = 0x579, WdfDevStatePwrPolStoppingPoweringUp = 0x57A,
  WdfDevStatePwrPolStoppingPoweringDown = 0x57B, WdfDevStatePwrPolPowerUpForSystemSleepNotSeen = 0x57C, WdfDevStatePwrPolWaitingArmedStoppingCancelUsbSS = 0x57D, WdfDevStatePwrPolWaitingArmedWakeFailedCancelUsbSS = 0x57E,
  WdfDevStatePwrPolWaitingArmedIoPresentCancelUsbSS = 0x57F, WdfDevStatePwrPolWaitingArmedWakeSucceededCancelUsbSS = 0x580, WdfDevStatePwrPolCancelingUsbSSForSystemSleep = 0x581, WdfDevStatePwrPolStoppingD0CancelUsbSS = 0x582,
  WdfDevStatePwrPolStartingPoweredUp = 0x583, WdfDevStatePwrPolIdleCapableDeviceIdle = 0x584, WdfDevStatePwrPolDeviceIdleReturnToActive = 0x585, WdfDevStatePwrPolDeviceIdleSleeping = 0x586,
  WdfDevStatePwrPolDeviceIdleStopping = 0x587, WdfDevStatePwrPolTimerExpiredNoWakeUndoPowerDown = 0x588, WdfDevStatePwrPolWakeCapableDeviceIdle = 0x589, WdfDevStatePwrPolWakeCapableUsbSSCompleted = 0x58A,
  WdfDevStatePwrPolTimerExpiredWakeCapableUndoPowerDown = 0x58B, WdfDevStatePwrPolTimerExpiredWakeCompletedHardwareStarted = 0x58C, WdfDevStatePwrPolStoppedRemoving = 0x58D, WdfDevStatePwrPolRemoved = 0x58E,
  WdfDevStatePwrPolRestarting = 0x58F, WdfDevStatePwrPolRestartingFailed = 0x590, WdfDevStatePwrPolStartingPoweredUpFailed = 0x591, WdfDevStatePwrPolTimerExpiredNoWakeReturnToActive = 0x592,
  WdfDevStatePwrPolWaitingArmedWakeInterruptFired = 0x593, WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFired = 0x594, WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFiredNP = 0x595 | WdfDevStateNP, WdfDevStatePwrPolTimerExpiredWakeCapableWakeInterruptArrived = 0x596,
  WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeInterruptArrived = 0x597, WdfDevStatePwrPolWaitingArmedWakeInterruptFiredDuringPowerDown = 0x598, WdfDevStatePwrPolNull = 0x599
}
 
enum  _WDF_STATE_NOTIFICATION_TYPE {
  StateNotificationInvalid = 0x0000, StateNotificationEnterState = 0x0001, StateNotificationPostProcessState = 0x0002, StateNotificationLeaveState = 0x0004,
  StateNotificationAllStates = StateNotificationEnterState | StateNotificationPostProcessState | StateNotificationLeaveState
}
 
enum  _WDF_POWER_POLICY_S0_IDLE_CAPABILITIES { IdleCapsInvalid = 0, IdleCannotWakeFromS0, IdleCanWakeFromS0, IdleUsbSelectiveSuspend }
 
enum  _WDF_POWER_POLICY_S0_IDLE_USER_CONTROL { IdleUserControlInvalid = 0, IdleDoNotAllowUserControl, IdleAllowUserControl }
 
enum  _WDF_POWER_POLICY_IDLE_TIMEOUT_CONSTANTS { IdleTimeoutDefaultConstant = 0 }
 
enum  _WDF_POWER_POLICY_SX_WAKE_USER_CONTROL { WakeUserControlInvalid = 0, WakeDoNotAllowUserControl, WakeAllowUserControl }
 
enum  _WDF_POWER_DEVICE_STATE {
  WdfPowerDeviceInvalid = 0, WdfPowerDeviceD0, WdfPowerDeviceD1, WdfPowerDeviceD2,
  WdfPowerDeviceD3, WdfPowerDeviceD3Final, WdfPowerDevicePrepareForHibernation, WdfPowerDeviceMaximum
}
 
enum  _WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS { WDF_DISPATCH_IRP_TO_IO_QUEUE_NO_FLAGS = 0x00000000, WDF_DISPATCH_IRP_TO_IO_QUEUE_INVOKE_INCALLERCTX_CALLBACK = 0x00000001, WDF_DISPATCH_IRP_TO_IO_QUEUE_PREPROCESSED_IRP = 0x00000002 }
 
enum  _WDF_SPECIAL_FILE_TYPE {
  WdfSpecialFileUndefined = 0, WdfSpecialFilePaging = 1, WdfSpecialFileHibernation, WdfSpecialFileDump,
  WdfSpecialFileBoot, WdfSpecialFileMax
}
 
enum  _WDF_DEVICE_IO_TYPE {
  WdfDeviceIoUndefined = 0, WdfDeviceIoNeither, WdfDeviceIoBuffered, WdfDeviceIoDirect,
  WdfDeviceIoBufferedOrDirect = 4, WdfDeviceIoMaximum
}
 
enum  _WDF_FILEOBJECT_CLASS {
  WdfFileObjectInvalid = 0, WdfFileObjectNotRequired = 1, WdfFileObjectWdfCanUseFsContext = 2, WdfFileObjectWdfCanUseFsContext2 = 3,
  WdfFileObjectWdfCannotUseFsContexts = 4, WdfFileObjectCanBeOptional = 0x80000000
}
 
enum  _WDF_DEVICE_FAILED_ACTION { WdfDeviceFailedUndefined = 0, WdfDeviceFailedAttemptRestart, WdfDeviceFailedNoRestart }
 
enum  _WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE { WdfReleaseHardwareOrderOnFailureInvalid = 0, WdfReleaseHardwareOrderOnFailureEarly, WdfReleaseHardwareOrderOnFailureAfterDescendants }
 
enum  _WDF_REQUEST_TYPE {
  WdfRequestTypeCreate = 0x0, WdfRequestTypeCreateNamedPipe = 0x1, WdfRequestTypeClose = 0x2, WdfRequestTypeRead = 0x3,
  WdfRequestTypeWrite = 0x4, WdfRequestTypeQueryInformation = 0x5, WdfRequestTypeSetInformation = 0x6, WdfRequestTypeQueryEA = 0x7,
  WdfRequestTypeSetEA = 0x8, WdfRequestTypeFlushBuffers = 0x9, WdfRequestTypeQueryVolumeInformation = 0xa, WdfRequestTypeSetVolumeInformation = 0xb,
  WdfRequestTypeDirectoryControl = 0xc, WdfRequestTypeFileSystemControl = 0xd, WdfRequestTypeDeviceControl = 0xe, WdfRequestTypeDeviceControlInternal = 0xf,
  WdfRequestTypeShutdown = 0x10, WdfRequestTypeLockControl = 0x11, WdfRequestTypeCleanup = 0x12, WdfRequestTypeCreateMailSlot = 0x13,
  WdfRequestTypeQuerySecurity = 0x14, WdfRequestTypeSetSecurity = 0x15, WdfRequestTypePower = 0x16, WdfRequestTypeSystemControl = 0x17,
  WdfRequestTypeDeviceChange = 0x18, WdfRequestTypeQueryQuota = 0x19, WdfRequestTypeSetQuota = 0x1A, WdfRequestTypePnp = 0x1B,
  WdfRequestTypeOther =0x1C, WdfRequestTypeUsb = 0x40, WdfRequestTypeNoFormat = 0xFF, WdfRequestTypeMax
}
 
enum  _WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE { DriverManagedIdleTimeout = 0, SystemManagedIdleTimeout = 1, SystemManagedIdleTimeoutWithHint = 2 }
 
enum  _WDF_REMOVE_LOCK_OPTIONS_FLAGS { WDF_REMOVE_LOCK_OPTION_ACQUIRE_FOR_IO = 0x00000001 }
 

Functions

typedef _Function_class_ (EVT_WDF_DEVICE_FILE_CREATE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_FILE_CREATE(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_FILE_CLOSE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_FILE_CLOSE(_In_ WDFFILEOBJECT FileObject)
 
typedef _Function_class_ (EVT_WDF_FILE_CLEANUP) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_FILE_CLEANUP(_In_ WDFFILEOBJECT FileObject)
 
FORCEINLINE VOID WDF_FILEOBJECT_CONFIG_INIT (_Out_ PWDF_FILEOBJECT_CONFIG FileEventCallbacks, _In_opt_ PFN_WDF_DEVICE_FILE_CREATE EvtDeviceFileCreate, _In_opt_ PFN_WDF_FILE_CLOSE EvtFileClose, _In_opt_ PFN_WDF_FILE_CLEANUP EvtFileCleanup)
 
typedef _Function_class_ (EVT_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_D0_ENTRY) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_D0_ENTRY(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_D0_EXIT) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_D0_EXIT(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_PREPARE_HARDWARE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_PREPARE_HARDWARE(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_RELEASE_HARDWARE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_RELEASE_HARDWARE(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_SELF_MANAGED_IO_FLUSH) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_SELF_MANAGED_IO_FLUSH(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_SELF_MANAGED_IO_INIT) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_SELF_MANAGED_IO_INIT(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_SELF_MANAGED_IO_RESTART) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_SELF_MANAGED_IO_RESTART(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_QUERY_STOP) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_QUERY_STOP(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_QUERY_REMOVE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_QUERY_REMOVE(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_SURPRISE_REMOVAL) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_SURPRISE_REMOVAL(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_USAGE_NOTIFICATION) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_USAGE_NOTIFICATION(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_USAGE_NOTIFICATION_EX) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_USAGE_NOTIFICATION_EX(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_RELATIONS_QUERY) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_RELATIONS_QUERY(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_ARM_WAKE_FROM_S0) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_ARM_WAKE_FROM_S0(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_ARM_WAKE_FROM_SX) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_ARM_WAKE_FROM_SX(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_ARM_WAKE_FROM_SX_WITH_REASON) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_ARM_WAKE_FROM_SX_WITH_REASON(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_DISARM_WAKE_FROM_S0) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_DISARM_WAKE_FROM_S0(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_DISARM_WAKE_FROM_SX) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_DISARM_WAKE_FROM_SX(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED(_In_ WDFDEVICE Device)
 
typedef _Function_class_ (EVT_WDF_DEVICE_WAKE_FROM_SX_TRIGGERED) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_WAKE_FROM_SX_TRIGGERED(_In_ WDFDEVICE Device)
 
FORCEINLINE VOID WDF_POWER_POLICY_EVENT_CALLBACKS_INIT (_Out_ PWDF_POWER_POLICY_EVENT_CALLBACKS Callbacks)
 
FORCEINLINE VOID WDF_PNPPOWER_EVENT_CALLBACKS_INIT (_Out_ PWDF_PNPPOWER_EVENT_CALLBACKS Callbacks)
 
FORCEINLINE ULONG WdfDevStateNormalize (_In_ ULONG State)
 
FORCEINLINE BOOLEAN WdfDevStateIsNP (_In_ ULONG State)
 
FORCEINLINE VOID WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS_INIT (_Out_ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings, _In_ WDF_POWER_POLICY_S0_IDLE_CAPABILITIES IdleCaps)
 
FORCEINLINE VOID WDF_DEVICE_POWER_POLICY_WAKE_SETTINGS_INIT (_Out_ PWDF_DEVICE_POWER_POLICY_WAKE_SETTINGS Settings)
 
FORCEINLINE VOID WDF_DEVICE_STATE_INIT (_Out_ PWDF_DEVICE_STATE PnpDeviceState)
 
FORCEINLINE VOID WDF_DEVICE_PNP_CAPABILITIES_INIT (_Out_ PWDF_DEVICE_PNP_CAPABILITIES Caps)
 
FORCEINLINE VOID WDF_DEVICE_POWER_CAPABILITIES_INIT (_Out_ PWDF_DEVICE_POWER_CAPABILITIES Caps)
 
FORCEINLINE VOID WDF_REMOVE_LOCK_OPTIONS_INIT (_Out_ PWDF_REMOVE_LOCK_OPTIONS RemoveLockOptions, _In_ ULONG Flags)
 
typedef _Function_class_ (EVT_WDFDEVICE_WDM_IRP_PREPROCESS) _IRQL_requires_same_ _IRQL_requires_max_(DISPATCH_LEVEL) NTSTATUS STDCALL EVT_WDFDEVICE_WDM_IRP_PREPROCESS(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDFDEVICE_WDM_IRP_DISPATCH) _IRQL_requires_same_ _IRQL_requires_max_(DISPATCH_LEVEL) NTSTATUS STDCALL EVT_WDFDEVICE_WDM_IRP_DISPATCH(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_IO_IN_CALLER_CONTEXT) _IRQL_requires_same_ _IRQL_requires_max_(DISPATCH_LEVEL) VOID STDCALL EVT_WDF_IO_IN_CALLER_CONTEXT(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDFDEVICE_WDM_POST_PO_FX_REGISTER_DEVICE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDFDEVICE_WDM_POST_PO_FX_REGISTER_DEVICE(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDFDEVICE_WDM_PRE_PO_FX_UNREGISTER_DEVICE) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDFDEVICE_WDM_PRE_PO_FX_UNREGISTER_DEVICE(_In_ WDFDEVICE Device
 
FORCEINLINE VOID WDF_POWER_FRAMEWORK_SETTINGS_INIT (_Out_ PWDF_POWER_FRAMEWORK_SETTINGS PowerFrameworkSettings)
 
FORCEINLINE VOID WDF_IO_TYPE_CONFIG_INIT (_Out_ PWDF_IO_TYPE_CONFIG IoTypeConfig)
 
FORCEINLINE VOID WDF_DEVICE_PROPERTY_DATA_INIT (_Out_ PWDF_DEVICE_PROPERTY_DATA PropertyData, _In_ const DEVPROPKEY *PropertyKey)
 
typedef _IRQL_requires_max_ (DISPATCH_LEVEL) WDFAPI VOID(STDCALL *PFN_WDFDEVICEGETDEVICESTATE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
_Must_inspect_result_ _IRQL_requires_max_ (PASSIVE_LEVEL) FORCEINLINE NTSTATUS WdfDeviceRetrieveDeviceName(_In_ WDFDEVICE Device
 
_Must_inspect_result_ _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _When_ (NumMinorFunctions > 0, _In_reads_bytes_(NumMinorFunctions)) _When_(NumMinorFunctions
 
_Must_inspect_result_ _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_writes_bytes_all_ (BufferLength) PVOID PropertyBuffer
 
_Must_inspect_result_ _When_ (WaitForD0==0, _IRQL_requires_max_(DISPATCH_LEVEL)) _When_(WaitForD0 !=0
 
_Must_inspect_result_ _IRQL_requires_max_ (APC_LEVEL) FORCEINLINE NTSTATUS WdfDeviceQueryPropertyEx(_In_ WDFDEVICE Device
 

Macro Definition Documentation

◆ IdleTimeoutDefaultValue

#define IdleTimeoutDefaultValue   ((ULONG) IdleTimeoutDefaultConstant)

Definition at line 816 of file wdfdevice.h.

◆ WDF_EXTERN_C

#define WDF_EXTERN_C

Definition at line 37 of file wdfdevice.h.

◆ WDF_EXTERN_C_END

#define WDF_EXTERN_C_END

Definition at line 39 of file wdfdevice.h.

◆ WDF_EXTERN_C_START

#define WDF_EXTERN_C_START

Definition at line 38 of file wdfdevice.h.

◆ WDF_S0_IDLE_DEFAULT_VALUE_NAME

#define WDF_S0_IDLE_DEFAULT_VALUE_NAME   L"WdfDefaultIdleInWorkingState"

Definition at line 492 of file wdfdevice.h.

◆ WDF_S0_IDLE_ENABLED_VALUE_NAME

#define WDF_S0_IDLE_ENABLED_VALUE_NAME   L"IdleInWorkingState"

Definition at line 490 of file wdfdevice.h.

◆ WDF_SX_WAKE_DEFAULT_VALUE_NAME

#define WDF_SX_WAKE_DEFAULT_VALUE_NAME   L"WdfDefaultWakeFromSleepState"

Definition at line 493 of file wdfdevice.h.

◆ WDF_SX_WAKE_ENABLED_VALUE_NAME

#define WDF_SX_WAKE_ENABLED_VALUE_NAME   L"WakeFromSleepState"

Definition at line 491 of file wdfdevice.h.

◆ WdfDeviceResumeIdle

#define WdfDeviceResumeIdle (   Device)    WdfDeviceResumeIdleWithTag(Device, NULL)

Definition at line 1977 of file wdfdevice.h.

◆ WdfDeviceResumeIdleWithTag

#define WdfDeviceResumeIdleWithTag (   Device,
  Tag 
)    WdfDeviceResumeIdleActual(Device, Tag, __LINE__, __FILE__)

Definition at line 1980 of file wdfdevice.h.

◆ WdfDeviceStopIdle

#define WdfDeviceStopIdle (   Device,
  WaitForD0 
)    WdfDeviceStopIdleWithTag(Device, WaitForD0, NULL)

Definition at line 1971 of file wdfdevice.h.

◆ WdfDeviceStopIdleWithTag

#define WdfDeviceStopIdleWithTag (   Device,
  WaitForD0,
  Tag 
)    WdfDeviceStopIdleActual(Device, WaitForD0, Tag, __LINE__, __FILE__)

Definition at line 1974 of file wdfdevice.h.

Typedef Documentation

◆ _IRQL_requires_max_

typedef _Must_inspect_result_ _IRQL_requires_max_(APC_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFDEVICEASSIGNPROPERTY)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals

Definition at line 2148 of file wdfdevice.h.

◆ _Out_writes_bytes_all_

Definition at line 3772 of file wdfdevice.h.

◆ _When_

Definition at line 3463 of file wdfdevice.h.

◆ AlignmentRequirement

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE _In_ ULONG AlignmentRequirement
Definition: wdfdevice.h:2851
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 2851 of file wdfdevice.h.

◆ BufferLength

◆ BusInformation

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFDEVICE _In_ PPNP_BUS_INFORMATION BusInformation
Definition: wdfdevice.h:3912

Definition at line 3912 of file wdfdevice.h.

◆ CallbackTypes

Initial value:
{
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE _In_ PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION EvtDevicePnpStateChange
Definition: wdfdevice.h:2993
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE _In_ PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION _In_ ULONG CallbackTypes
Definition: wdfdevice.h:2993
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_PNP_STATE PnpState
Definition: wdfdevice.h:2993
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 2993 of file wdfdevice.h.

◆ ChildrenArmedForWake

Definition at line 1099 of file wdfdevice.h.

◆ Code

Definition at line 1697 of file wdfdevice.h.

◆ Data

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
Definition: wdfdevice.h:3767
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG _In_opt_ PVOID Data
Definition: wdfdevice.h:4527
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG _Out_ PDEVPROPTYPE Type
Definition: wdfdevice.h:4431
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4527

Definition at line 4527 of file wdfdevice.h.

◆ DependentDevice

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT DependentDevice
Definition: wdfdevice.h:2260
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 2260 of file wdfdevice.h.

◆ DesiredAccess

◆ Device

typedef _Must_inspect_result_ _In_ WDFDEVICE Device
Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _Inout_ PWDFDEVICE_INIT _In_opt_ PWDF_OBJECT_ATTRIBUTES DeviceAttributes
Definition: wdfdevice.h:3561
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 1996 of file wdfdevice.h.

◆ DeviceAttributes

◆ DeviceCharacteristics

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE _In_ ULONG DeviceCharacteristics
Definition: wdfdevice.h:2772
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 2772 of file wdfdevice.h.

◆ DeviceClassGuid

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ CONST GUID * DeviceClassGuid
Definition: wdfdevice.h:3333

Definition at line 3333 of file wdfdevice.h.

◆ DeviceInit

Definition at line 2881 of file wdfdevice.h.

◆ DeviceInstanceKeyType

◆ DeviceName

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
Definition: wdfdevice.h:3272
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 3272 of file wdfdevice.h.

◆ DeviceObject

◆ DeviceProperty

◆ DeviceState

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE _Out_ PWDF_DEVICE_STATE DeviceState
Definition: wdfdevice.h:1996
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 1996 of file wdfdevice.h.

◆ DeviceType

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ DEVICE_TYPE DeviceType
Definition: wdfdevice.h:3242

Definition at line 3242 of file wdfdevice.h.

◆ DeviceWakeEnabled

Definition at line 1099 of file wdfdevice.h.

◆ DispatchContext

Initial value:
{
_In_ UCHAR _In_ UCHAR _In_ ULONG _In_ WDFCONTEXT _Inout_ PIRP _In_ WDFCONTEXT DispatchContext
Definition: wdfdevice.h:1697
_Inout_ PIRP Irp
Definition: wdfdevice.h:1683
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 1697 of file wdfdevice.h.

◆ Driver

Definition at line 4264 of file wdfdevice.h.

◆ DriverContext

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ UCHAR MajorFunction
Definition: wdfdevice.h:1697
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER _In_ UCHAR _In_ PFN_WDFDEVICE_WDM_IRP_DISPATCH EvtDeviceWdmIrpDisptach
Definition: wdfdevice.h:4264
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDRIVER Driver
Definition: wdfdevice.h:4264
_In_ UCHAR _In_ UCHAR _In_ ULONG _In_ WDFCONTEXT DriverContext
Definition: wdfdevice.h:1697

Definition at line 1697 of file wdfdevice.h.

◆ EvtDevicePnpStateChange

◆ EvtDevicePowerPolicyStateChange

◆ EvtDevicePowerStateChange

◆ EvtDeviceWdmIrpDisptach

◆ EvtDeviceWdmIrpPreprocess

◆ EvtIoInCallerContext

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ PFN_WDF_IO_IN_CALLER_CONTEXT EvtIoInCallerContext
Definition: wdfdevice.h:3502

Definition at line 3502 of file wdfdevice.h.

◆ FailedAction

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFDEVICE _In_ WDF_DEVICE_FAILED_ACTION FailedAction
Definition: wdfdevice.h:3972

Definition at line 3972 of file wdfdevice.h.

◆ File

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN WaitForD0
Definition: wdfdevice.h:4003
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4061
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID _In_ LONG _In_z_ PCHAR File
Definition: wdfdevice.h:4061
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID _In_ LONG Line
Definition: wdfdevice.h:4061

Definition at line 4061 of file wdfdevice.h.

◆ FileObject

_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT FileObject
Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:547
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 547 of file wdfdevice.h.

◆ FileObjectAttributes

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
_In_ PWDFDEVICE_INIT _In_ PWDF_FILEOBJECT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES FileObjectAttributes
Definition: wdfdevice.h:3395
#define WdfFunctions
Definition: wdf.h:66
_In_ PWDFDEVICE_INIT _In_ PWDF_FILEOBJECT_CONFIG FileObjectConfig
Definition: wdfdevice.h:3395
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 3395 of file wdfdevice.h.

◆ FileObjectConfig

◆ FileType

Definition at line 2739 of file wdfdevice.h.

◆ FileTypeIsSupported

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE _In_ WDF_SPECIAL_FILE_TYPE FileType
Definition: wdfdevice.h:2739
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFDEVICE _In_ WDF_SPECIAL_FILE_TYPE _In_ BOOLEAN FileTypeIsSupported
Definition: wdfdevice.h:2739

Definition at line 2739 of file wdfdevice.h.

◆ Flags

Initial value:
{
return ((PFN_WDFDEVICEWDMDISPATCHIRPTOIOQUEUE) WdfFunctions[WdfDeviceWdmDispatchIrpToIoQueueTableIndex])(WdfDriverGlobals, Device, Irp, Queue, Flags)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
Definition: wdfdevice.h:2221
_Inout_ PIRP Irp
Definition: wdfdevice.h:1683
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE _In_ ULONG Flags
Definition: wdfdevice.h:2221
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 2221 of file wdfdevice.h.

◆ InterfaceClassGUID

Definition at line 3625 of file wdfdevice.h.

◆ IoType

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_IO_TYPE IoType
Definition: wdfdevice.h:3138

Definition at line 3138 of file wdfdevice.h.

◆ IoTypeConfig

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ PWDF_IO_TYPE_CONFIG IoTypeConfig
Definition: wdfdevice.h:4391

Definition at line 4391 of file wdfdevice.h.

◆ Irp

Initial value:
{
return ((PFN_WDFDEVICEWDMDISPATCHPREPROCESSEDIRP) WdfFunctions[WdfDeviceWdmDispatchPreprocessedIrpTableIndex])(WdfDriverGlobals, Device, Irp)
_Inout_ PIRP Irp
Definition: wdfdevice.h:1683
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 1683 of file wdfdevice.h.

◆ IsExclusive

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ BOOLEAN IsExclusive
Definition: wdfdevice.h:3109

Definition at line 3109 of file wdfdevice.h.

◆ IsInNotificationPath

◆ IsInterfaceEnabled

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING _In_ BOOLEAN IsInterfaceEnabled
Definition: wdfdevice.h:3659
_Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING ReferenceString
Definition: wdfdevice.h:3625
_Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUID * InterfaceClassGUID
Definition: wdfdevice.h:3625

Definition at line 3659 of file wdfdevice.h.

◆ IsPowerPolicyOwner

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ BOOLEAN IsPowerPolicyOwner
Definition: wdfdevice.h:2963

Definition at line 2963 of file wdfdevice.h.

◆ Key

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2654
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFKEY * Key
Definition: wdfdevice.h:2654
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes
Definition: wdfdevice.h:2654
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG DeviceInstanceKeyType
Definition: wdfdevice.h:2654

Definition at line 2654 of file wdfdevice.h.

◆ KeyAttributes

◆ KeyName

◆ Line

Definition at line 4061 of file wdfdevice.h.

◆ MajorFunction

Definition at line 1697 of file wdfdevice.h.

◆ MinorFunction

Definition at line 1697 of file wdfdevice.h.

◆ MinorFunctions

◆ MofResourceName

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING MofResourceName
Definition: wdfdevice.h:2461

Definition at line 2461 of file wdfdevice.h.

◆ NotificationData

◆ NotificationType

Definition at line 1024 of file wdfdevice.h.

◆ NumMinorFunctions

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _In_opt_ PUCHAR MinorFunctions
Definition: wdfdevice.h:3465
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS EvtDeviceWdmIrpPreprocess
Definition: wdfdevice.h:3458
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PFN_WDFDEVICE_WDM_IRP_PREPROCESS _In_ UCHAR _In_opt_ PUCHAR _In_ ULONG NumMinorFunctions
Definition: wdfdevice.h:3465
_In_ UCHAR MajorFunction
Definition: wdfdevice.h:1697

Definition at line 3465 of file wdfdevice.h.

◆ Options

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
Definition: wdfdevice.h:3531

Definition at line 3531 of file wdfdevice.h.

◆ OrInValues

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE _In_ ULONG DeviceCharacteristics
Definition: wdfdevice.h:2772
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ ULONG _In_ BOOLEAN OrInValues
Definition: wdfdevice.h:3362

Definition at line 3362 of file wdfdevice.h.

◆ PCWDF_DEVICE_PNP_NOTIFICATION_DATA

◆ PCWDF_DEVICE_POWER_NOTIFICATION_DATA

◆ PCWDF_DEVICE_POWER_POLICY_NOTIFICATION_DATA

◆ PFN_WDF_DEVICE_ARM_WAKE_FROM_S0

typedef EVT_WDF_DEVICE_ARM_WAKE_FROM_S0* PFN_WDF_DEVICE_ARM_WAKE_FROM_S0

Definition at line 1074 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_ARM_WAKE_FROM_SX

typedef EVT_WDF_DEVICE_ARM_WAKE_FROM_SX* PFN_WDF_DEVICE_ARM_WAKE_FROM_SX

Definition at line 1087 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_ARM_WAKE_FROM_SX_WITH_REASON

typedef EVT_WDF_DEVICE_ARM_WAKE_FROM_SX_WITH_REASON* PFN_WDF_DEVICE_ARM_WAKE_FROM_SX_WITH_REASON

Definition at line 1104 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_D0_ENTRY

typedef EVT_WDF_DEVICE_D0_ENTRY* PFN_WDF_DEVICE_D0_ENTRY

Definition at line 831 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED

typedef EVT_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED* PFN_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED

Definition at line 846 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_D0_EXIT

typedef EVT_WDF_DEVICE_D0_EXIT* PFN_WDF_DEVICE_D0_EXIT

Definition at line 861 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED

typedef EVT_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED* PFN_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED

Definition at line 876 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_DISARM_WAKE_FROM_S0

typedef EVT_WDF_DEVICE_DISARM_WAKE_FROM_S0* PFN_WDF_DEVICE_DISARM_WAKE_FROM_S0

Definition at line 1117 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_DISARM_WAKE_FROM_SX

typedef EVT_WDF_DEVICE_DISARM_WAKE_FROM_SX* PFN_WDF_DEVICE_DISARM_WAKE_FROM_SX

Definition at line 1130 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_FILE_CREATE

typedef EVT_WDF_DEVICE_FILE_CREATE* PFN_WDF_DEVICE_FILE_CREATE

Definition at line 552 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION

typedef EVT_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION* PFN_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION

Definition at line 784 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION

typedef EVT_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION* PFN_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION

Definition at line 814 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION

typedef EVT_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION* PFN_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION

Definition at line 799 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_PREPARE_HARDWARE

typedef EVT_WDF_DEVICE_PREPARE_HARDWARE* PFN_WDF_DEVICE_PREPARE_HARDWARE

Definition at line 893 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_QUERY_REMOVE

typedef EVT_WDF_DEVICE_QUERY_REMOVE* PFN_WDF_DEVICE_QUERY_REMOVE

Definition at line 999 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_QUERY_STOP

typedef EVT_WDF_DEVICE_QUERY_STOP* PFN_WDF_DEVICE_QUERY_STOP

Definition at line 986 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_RELATIONS_QUERY

typedef EVT_WDF_DEVICE_RELATIONS_QUERY* PFN_WDF_DEVICE_RELATIONS_QUERY

Definition at line 1061 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_RELEASE_HARDWARE

typedef EVT_WDF_DEVICE_RELEASE_HARDWARE* PFN_WDF_DEVICE_RELEASE_HARDWARE

Definition at line 908 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP

typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP* PFN_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP

Definition at line 921 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_SELF_MANAGED_IO_FLUSH

typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_FLUSH* PFN_WDF_DEVICE_SELF_MANAGED_IO_FLUSH

Definition at line 934 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_SELF_MANAGED_IO_INIT

typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_INIT* PFN_WDF_DEVICE_SELF_MANAGED_IO_INIT

Definition at line 947 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_SELF_MANAGED_IO_RESTART

typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_RESTART* PFN_WDF_DEVICE_SELF_MANAGED_IO_RESTART

Definition at line 973 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND

typedef EVT_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND* PFN_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND

Definition at line 960 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_SURPRISE_REMOVAL

typedef EVT_WDF_DEVICE_SURPRISE_REMOVAL* PFN_WDF_DEVICE_SURPRISE_REMOVAL

Definition at line 1012 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_USAGE_NOTIFICATION

typedef EVT_WDF_DEVICE_USAGE_NOTIFICATION* PFN_WDF_DEVICE_USAGE_NOTIFICATION

Definition at line 1029 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_USAGE_NOTIFICATION_EX

typedef EVT_WDF_DEVICE_USAGE_NOTIFICATION_EX* PFN_WDF_DEVICE_USAGE_NOTIFICATION_EX

Definition at line 1046 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED

typedef EVT_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED* PFN_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED

Definition at line 1143 of file wdfdevice.h.

◆ PFN_WDF_DEVICE_WAKE_FROM_SX_TRIGGERED

typedef EVT_WDF_DEVICE_WAKE_FROM_SX_TRIGGERED* PFN_WDF_DEVICE_WAKE_FROM_SX_TRIGGERED

Definition at line 1156 of file wdfdevice.h.

◆ PFN_WDF_FILE_CLEANUP

typedef EVT_WDF_FILE_CLEANUP* PFN_WDF_FILE_CLEANUP

Definition at line 578 of file wdfdevice.h.

◆ PFN_WDF_FILE_CLOSE

typedef EVT_WDF_FILE_CLOSE* PFN_WDF_FILE_CLOSE

Definition at line 565 of file wdfdevice.h.

◆ PFN_WDF_IO_IN_CALLER_CONTEXT

typedef EVT_WDF_IO_IN_CALLER_CONTEXT* PFN_WDF_IO_IN_CALLER_CONTEXT

Definition at line 1728 of file wdfdevice.h.

◆ PFN_WDFDEVICE_WDM_IRP_DISPATCH

typedef EVT_WDFDEVICE_WDM_IRP_DISPATCH* PFN_WDFDEVICE_WDM_IRP_DISPATCH

Definition at line 1710 of file wdfdevice.h.

◆ PFN_WDFDEVICE_WDM_IRP_PREPROCESS

typedef EVT_WDFDEVICE_WDM_IRP_PREPROCESS* PFN_WDFDEVICE_WDM_IRP_PREPROCESS

Definition at line 1685 of file wdfdevice.h.

◆ PFN_WDFDEVICE_WDM_POST_PO_FX_REGISTER_DEVICE

typedef EVT_WDFDEVICE_WDM_POST_PO_FX_REGISTER_DEVICE* PFN_WDFDEVICE_WDM_POST_PO_FX_REGISTER_DEVICE

Definition at line 1743 of file wdfdevice.h.

◆ PFN_WDFDEVICE_WDM_PRE_PO_FX_UNREGISTER_DEVICE

typedef EVT_WDFDEVICE_WDM_PRE_PO_FX_UNREGISTER_DEVICE* PFN_WDFDEVICE_WDM_PRE_PO_FX_UNREGISTER_DEVICE

Definition at line 1758 of file wdfdevice.h.

◆ PhysicalDevice

Initial value:
{
return ((PFN_WDFDEVICEADDREMOVALRELATIONSPHYSICALDEVICE) WdfFunctions[WdfDeviceAddRemovalRelationsPhysicalDeviceTableIndex])(WdfDriverGlobals, Device, PhysicalDevice)
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ PDEVICE_OBJECT PhysicalDevice
Definition: wdfdevice.h:2320

Definition at line 2320 of file wdfdevice.h.

◆ PnpCapabilities

Initial value:
{
_In_ WDFDEVICE _In_ PWDF_DEVICE_PNP_CAPABILITIES PnpCapabilities
Definition: wdfdevice.h:3854
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 3854 of file wdfdevice.h.

◆ PnpPowerEventCallbacks

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ PWDF_PNPPOWER_EVENT_CALLBACKS PnpPowerEventCallbacks
Definition: wdfdevice.h:2905

Definition at line 2905 of file wdfdevice.h.

◆ PnpState

◆ PoHandle

typedef _In_ POHANDLE PoHandle

Definition at line 1741 of file wdfdevice.h.

◆ PoolType

◆ PowerCapabilities

Initial value:
{
_In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_CAPABILITIES PowerCapabilities
Definition: wdfdevice.h:3883
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 3883 of file wdfdevice.h.

◆ PowerFrameworkSettings

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_POWER_FRAMEWORK_SETTINGS PowerFrameworkSettings
Definition: wdfdevice.h:4332
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 4332 of file wdfdevice.h.

◆ PowerPolicyEventCallbacks

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ PWDFDEVICE_INIT _In_ PWDF_POWER_POLICY_EVENT_CALLBACKS PowerPolicyEventCallbacks
Definition: wdfdevice.h:2934

Definition at line 2934 of file wdfdevice.h.

◆ PowerPolicyState

◆ PowerState

◆ PreviousState

Definition at line 829 of file wdfdevice.h.

◆ PropertyBuffer

◆ PropertyMemory

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
Definition: wdfdevice.h:3767
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * PropertyMemory
Definition: wdfdevice.h:3810
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
Definition: wdfdevice.h:3810
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3810

Definition at line 3810 of file wdfdevice.h.

◆ PropertyMemoryAttributes

◆ PWDF_DEVICE_IO_TYPE

◆ PWDF_DEVICE_PNP_CAPABILITIES

◆ PWDF_DEVICE_PNP_STATE

◆ PWDF_DEVICE_POWER_CAPABILITIES

◆ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS

◆ PWDF_DEVICE_POWER_POLICY_STATE

◆ PWDF_DEVICE_POWER_POLICY_WAKE_SETTINGS

◆ PWDF_DEVICE_POWER_STATE

◆ PWDF_DEVICE_PROPERTY_DATA

◆ PWDF_DEVICE_STATE

◆ PWDF_FILEOBJECT_CLASS

◆ PWDF_FILEOBJECT_CONFIG

◆ PWDF_IO_TYPE_CONFIG

◆ PWDF_PNPPOWER_EVENT_CALLBACKS

◆ PWDF_POWER_DEVICE_STATE

◆ PWDF_POWER_FRAMEWORK_SETTINGS

◆ PWDF_POWER_POLICY_EVENT_CALLBACKS

◆ PWDF_POWER_POLICY_IDLE_TIMEOUT_TYPE

◆ PWDF_RELEASE_HARDWARE_ORDER_ON_FAILURE

◆ PWDF_REMOVE_LOCK_OPTIONS

◆ PWDF_SPECIAL_FILE_TYPE

◆ Queue

_In_ WDFIOTARGET _In_ WDFQUEUE Queue
Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_IO_QUEUE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES QueueAttributes
Definition: wdfio.h:613
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
Definition: wdfdevice.h:2221
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_CHILD_LIST_CONFIG Config
Definition: wdfchildlist.h:474

Definition at line 2221 of file wdfdevice.h.

◆ ReferenceString

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING ReferenceString
Definition: wdfdevice.h:3625
_Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUID * InterfaceClassGUID
Definition: wdfdevice.h:3625

Definition at line 3625 of file wdfdevice.h.

◆ RelationType

Definition at line 1059 of file wdfdevice.h.

◆ ReleaseHardwareOrderOnFailure

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
_In_ PWDFDEVICE_INIT _In_ WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE ReleaseHardwareOrderOnFailure
Definition: wdfdevice.h:4362
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 4362 of file wdfdevice.h.

◆ Request

_Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST Request
Initial value:
{
_In_ WDFREQUEST Request
Definition: wdfdevice.h:547
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 547 of file wdfdevice.h.

◆ RequestAttributes

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
_In_ PWDFDEVICE_INIT _In_ PWDF_OBJECT_ATTRIBUTES RequestAttributes
Definition: wdfdevice.h:3428
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 3428 of file wdfdevice.h.

◆ RequestType

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
Definition: wdfdevice.h:2221
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFQUEUE _In_ _Strict_type_match_ WDF_REQUEST_TYPE RequestType
Definition: wdfdevice.h:4227
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 4227 of file wdfdevice.h.

◆ RequiredSize

◆ ResourcesRaw

typedef _In_ WDFCMRESLIST ResourcesRaw

Definition at line 888 of file wdfdevice.h.

◆ ResourcesTranslated

typedef _In_ WDFCMRESLIST ResourcesTranslated

Definition at line 888 of file wdfdevice.h.

◆ ResultLength

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3767
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
Definition: wdfdevice.h:3767
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
Definition: wdfdevice.h:4431
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
Definition: wdfdevice.h:3776

Definition at line 3776 of file wdfdevice.h.

◆ SDDLString

Initial value:
{
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfdevice.h:2881
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING SDDLString
Definition: wdfdevice.h:3303
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 3303 of file wdfdevice.h.

◆ Settings

Initial value:
{
return ((PFN_WDFDEVICEASSIGNS0IDLESETTINGS) WdfFunctions[WdfDeviceAssignS0IdleSettingsTableIndex])(WdfDriverGlobals, Device, Settings)
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings
Definition: wdfdevice.h:2592
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 2592 of file wdfdevice.h.

◆ Size

◆ Stoppable

Initial value:
{
_In_ WDFDEVICE _In_ BOOLEAN Stoppable
Definition: wdfdevice.h:3595
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 3595 of file wdfdevice.h.

◆ String

Initial value:
{
return ((PFN_WDFDEVICERETRIEVEDEVICENAME) WdfFunctions[WdfDeviceRetrieveDeviceNameTableIndex])(WdfDriverGlobals, Device, String)
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2430
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 2430 of file wdfdevice.h.

◆ SymbolicLinkName

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING SymbolicLinkName
Definition: wdfdevice.h:3736

Definition at line 3736 of file wdfdevice.h.

◆ Tag

_In_ WDFDEVICE _In_opt_ PVOID Tag
Initial value:
{
Allocation
Definition: exfuncs.h:598

Definition at line 4061 of file wdfdevice.h.

◆ TargetState

Definition at line 859 of file wdfdevice.h.

◆ Type

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3767
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
Definition: wdfdevice.h:3767
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG _Out_ PDEVPROPTYPE Type
Definition: wdfdevice.h:4431
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
Definition: wdfdevice.h:4431
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize
Definition: wdfdevice.h:4431

Definition at line 4431 of file wdfdevice.h.

◆ WaitForD0

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN WaitForD0
Definition: wdfdevice.h:4003

Definition at line 4003 of file wdfdevice.h.

◆ WaitWakeStatus

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE _In_ NTSTATUS WaitWakeStatus
Definition: wdfdevice.h:3942
_In_ WDFDEVICE Device
Definition: wdfdevice.h:1996
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 3942 of file wdfdevice.h.

◆ WDF_DEVICE_FAILED_ACTION

◆ WDF_DEVICE_IO_TYPE

◆ WDF_DEVICE_PNP_CAPABILITIES

◆ WDF_DEVICE_PNP_NOTIFICATION_DATA

◆ WDF_DEVICE_PNP_STATE

◆ WDF_DEVICE_POWER_CAPABILITIES

◆ WDF_DEVICE_POWER_NOTIFICATION_DATA

◆ WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS

◆ WDF_DEVICE_POWER_POLICY_NOTIFICATION_DATA

◆ WDF_DEVICE_POWER_POLICY_STATE

◆ WDF_DEVICE_POWER_POLICY_WAKE_SETTINGS

◆ WDF_DEVICE_POWER_STATE

◆ WDF_DEVICE_PROPERTY_DATA

◆ WDF_DEVICE_STATE

◆ WDF_DEVICE_STATE_FLAGS

◆ WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS

◆ WDF_FILEOBJECT_CLASS

◆ WDF_FILEOBJECT_CONFIG

◆ WDF_IO_TYPE_CONFIG

◆ WDF_PNPPOWER_EVENT_CALLBACKS

◆ WDF_POWER_DEVICE_STATE

◆ WDF_POWER_FRAMEWORK_SETTINGS

◆ WDF_POWER_POLICY_EVENT_CALLBACKS

◆ WDF_POWER_POLICY_IDLE_TIMEOUT_CONSTANTS

◆ WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE

◆ WDF_POWER_POLICY_S0_IDLE_CAPABILITIES

◆ WDF_POWER_POLICY_S0_IDLE_USER_CONTROL

◆ WDF_POWER_POLICY_SX_WAKE_USER_CONTROL

◆ WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE

◆ WDF_REMOVE_LOCK_OPTIONS

◆ WDF_REMOVE_LOCK_OPTIONS_FLAGS

◆ WDF_REQUEST_TYPE

◆ WDF_SPECIAL_FILE_TYPE

◆ WDF_STATE_NOTIFICATION_TYPE

Enumeration Type Documentation

◆ _WDF_DEVICE_FAILED_ACTION

Enumerator
WdfDeviceFailedUndefined 
WdfDeviceFailedAttemptRestart 
WdfDeviceFailedNoRestart 

Definition at line 467 of file wdfdevice.h.

◆ _WDF_DEVICE_IO_TYPE

Enumerator
WdfDeviceIoUndefined 
WdfDeviceIoNeither 
WdfDeviceIoBuffered 
WdfDeviceIoDirect 
WdfDeviceIoBufferedOrDirect 
WdfDeviceIoMaximum 

Definition at line 449 of file wdfdevice.h.

◆ _WDF_DEVICE_PNP_STATE

Enumerator
WdfDevStatePnpInvalid 
WdfDevStatePnpObjectCreated 
WdfDevStatePnpCheckForDevicePresence 
WdfDevStatePnpEjectFailed 
WdfDevStatePnpEjectHardware 
WdfDevStatePnpEjectedWaitingForRemove 
WdfDevStatePnpInit 
WdfDevStatePnpInitStarting 
WdfDevStatePnpInitSurpriseRemoved 
WdfDevStatePnpHardwareAvailable 
WdfDevStatePnpEnableInterfaces 
WdfDevStatePnpHardwareAvailablePowerPolicyFailed 
WdfDevStatePnpQueryRemoveAskDriver 
WdfDevStatePnpQueryRemovePending 
WdfDevStatePnpQueryRemoveStaticCheck 
WdfDevStatePnpQueriedRemoving 
WdfDevStatePnpQueryStopAskDriver 
WdfDevStatePnpQueryStopPending 
WdfDevStatePnpQueryStopStaticCheck 
WdfDevStatePnpQueryCanceled 
WdfDevStatePnpRemoved 
WdfDevStatePnpPdoRemoved 
WdfDevStatePnpRemovedPdoWait 
WdfDevStatePnpRemovedPdoSurpriseRemoved 
WdfDevStatePnpRemovingDisableInterfaces 
WdfDevStatePnpRestarting 
WdfDevStatePnpStarted 
WdfDevStatePnpStartedCancelStop 
WdfDevStatePnpStartedCancelRemove 
WdfDevStatePnpStartedRemoving 
WdfDevStatePnpStartingFromStopped 
WdfDevStatePnpStopped 
WdfDevStatePnpStoppedWaitForStartCompletion 
WdfDevStatePnpStartedStopping 
WdfDevStatePnpSurpriseRemove 
WdfDevStatePnpInitQueryRemove 
WdfDevStatePnpInitQueryRemoveCanceled 
WdfDevStatePnpFdoRemoved 
WdfDevStatePnpRemovedWaitForChildren 
WdfDevStatePnpQueriedSurpriseRemove 
WdfDevStatePnpSurpriseRemoveIoStarted 
WdfDevStatePnpFailedPowerDown 
WdfDevStatePnpFailedIoStarting 
WdfDevStatePnpFailedOwnHardware 
WdfDevStatePnpFailed 
WdfDevStatePnpFailedSurpriseRemoved 
WdfDevStatePnpFailedStarted 
WdfDevStatePnpFailedWaitForRemove 
WdfDevStatePnpFailedInit 
WdfDevStatePnpPdoInitFailed 
WdfDevStatePnpRestart 
WdfDevStatePnpRestartReleaseHardware 
WdfDevStatePnpRestartHardwareAvailable 
WdfDevStatePnpPdoRestart 
WdfDevStatePnpFinal 
WdfDevStatePnpRemovedChildrenRemoved 
WdfDevStatePnpQueryRemoveEnsureDeviceAwake 
WdfDevStatePnpQueryStopEnsureDeviceAwake 
WdfDevStatePnpFailedPowerPolicyRemoved 
WdfDevStatePnpNull 

Definition at line 62 of file wdfdevice.h.

62  {
63  WdfDevStatePnpInvalid = 0x00,
69  WdfDevStatePnpInit = 0x105,
83  WdfDevStatePnpRemoved = 0x113,
89  WdfDevStatePnpStarted = 0x119,
94  WdfDevStatePnpStopped = 0x11E,
100  WdfDevStatePnpFdoRemoved = 0x124,
107  WdfDevStatePnpFailed = 0x12B,
111  WdfDevStatePnpFailedInit = 0x12F,
113  WdfDevStatePnpRestart = 0x131,
116  WdfDevStatePnpPdoRestart = 0x134,
117  WdfDevStatePnpFinal = 0x135,
122  WdfDevStatePnpNull = 0x13A,
enum _WDF_DEVICE_PNP_STATE WDF_DEVICE_PNP_STATE
enum _WDF_DEVICE_PNP_STATE * PWDF_DEVICE_PNP_STATE

◆ _WDF_DEVICE_POWER_POLICY_STATE

Enumerator
WdfDevStatePwrPolInvalid 
WdfDevStatePwrPolObjectCreated 
WdfDevStatePwrPolStarting 
WdfDevStatePwrPolStartingSucceeded 
WdfDevStatePwrPolStartingFailed 
WdfDevStatePwrPolStartingDecideS0Wake 
WdfDevStatePwrPolStartedIdleCapable 
WdfDevStatePwrPolTimerExpiredNoWake 
WdfDevStatePwrPolTimerExpiredNoWakeCompletePowerDown 
WdfDevStatePwrPolWaitingUnarmed 
WdfDevStatePwrPolWaitingUnarmedQueryIdle 
WdfDevStatePwrPolS0NoWakePowerUp 
WdfDevStatePwrPolS0NoWakeCompletePowerUp 
WdfDevStatePwrPolSystemSleepFromDeviceWaitingUnarmed 
WdfDevStatePwrPolSystemSleepNeedWake 
WdfDevStatePwrPolSystemSleepNeedWakeCompletePowerUp 
WdfDevStatePwrPolSystemSleepPowerRequestFailed 
WdfDevStatePwrPolCheckPowerPageable 
WdfDevStatePwrPolSleepingWakeWakeArrived 
WdfDevStatePwrPolSleepingWakeRevertArmWake 
WdfDevStatePwrPolSystemAsleepWakeArmed 
WdfDevStatePwrPolSystemWakeDeviceWakeEnabled 
WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceled 
WdfDevStatePwrPolSystemWakeDeviceWakeDisarm 
WdfDevStatePwrPolSystemWakeDeviceWakeTriggered 
WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0 
WdfDevStatePwrPolSystemWakeDeviceWokeDisarm 
WdfDevStatePwrPolSleepingWakeWakeArrivedNP 
WdfDevStatePwrPolSleepingWakeRevertArmWakeNP 
WdfDevStatePwrPolSleepingWakePowerDownFailed 
WdfDevStatePwrPolSleepingWakePowerDownFailedWakeCanceled 
WdfDevStatePwrPolSystemAsleepWakeArmedNP 
WdfDevStatePwrPolSystemWakeDeviceWakeEnabledNP 
WdfDevStatePwrPolSystemWakeDeviceWakeEnabledWakeCanceledNP 
WdfDevStatePwrPolSystemWakeDeviceWakeDisarmNP 
WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredNP 
WdfDevStatePwrPolSystemWakeDeviceWakeTriggeredS0NP 
WdfDevStatePwrPolSystemWakeDeviceWokeDisarmNP 
WdfDevStatePwrPolSystemWakeDeviceWakeCompletePowerUp 
WdfDevStatePwrPolSleeping 
WdfDevStatePwrPolSleepingNoWakePowerDown 
WdfDevStatePwrPolSleepingNoWakeCompletePowerDown 
WdfDevStatePwrPolSleepingNoWakeDxRequestFailed 
WdfDevStatePwrPolSleepingWakePowerDown 
WdfDevStatePwrPolSleepingSendWake 
WdfDevStatePwrPolSystemAsleepNoWake 
WdfDevStatePwrPolSystemWakeDeviceWakeDisabled 
WdfDevStatePwrPolSystemWakeDeviceToD0 
WdfDevStatePwrPolSystemWakeDeviceToD0CompletePowerUp 
WdfDevStatePwrPolSystemWakeQueryIdle 
WdfDevStatePwrPolStartedWakeCapable 
WdfDevStatePwrPolTimerExpiredDecideUsbSS 
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDown 
WdfDevStatePwrPolTimerExpiredWakeCapableSendWake 
WdfDevStatePwrPolTimerExpiredWakeCapableUsbSS 
WdfDevStatePwrPolTimerExpiredWakeCapableWakeArrived 
WdfDevStatePwrPolTimerExpiredWakeCapableCancelWake 
WdfDevStatePwrPolTimerExpiredWakeCapableWakeCanceled 
WdfDevStatePwrPolTimerExpiredWakeCapableCleanup 
WdfDevStatePwrPolTimerExpiredWakeCapableDxAllocFailed 
WdfDevStatePwrPolTimerExpiredWakeCompletedPowerDown 
WdfDevStatePwrPolTimerExpiredWakeCompletedPowerUp 
WdfDevStatePwrPolWaitingArmedUsbSS 
WdfDevStatePwrPolWaitingArmed 
WdfDevStatePwrPolWaitingArmedQueryIdle 
WdfDevStatePwrPolIoPresentArmed 
WdfDevStatePwrPolIoPresentArmedWakeCanceled 
WdfDevStatePwrPolS0WakeDisarm 
WdfDevStatePwrPolS0WakeCompletePowerUp 
WdfDevStatePwrPolTimerExpiredWakeSucceeded 
WdfDevStatePwrPolTimerExpiredWakeCompletedDisarm 
WdfDevStatePwrPolTimerExpiredWakeCapableWakeSucceeded 
WdfDevStatePwrPolTimerExpiredWakeCapableWakeFailed 
WdfDevStatePwrPolWakeFailedUsbSS 
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedCancelWake 
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeCanceled 
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedUsbSS 
WdfDevStatePwrPolCancelingWakeForSystemSleep 
WdfDevStatePwrPolCancelingWakeForSystemSleepWakeCanceled 
WdfDevStatePwrPolDisarmingWakeForSystemSleepCompletePowerUp 
WdfDevStatePwrPolPowerUpForSystemSleepFailed 
WdfDevStatePwrPolWokeFromS0UsbSS 
WdfDevStatePwrPolWokeFromS0 
WdfDevStatePwrPolWokeFromS0NotifyDriver 
WdfDevStatePwrPolStoppingResetDevice 
WdfDevStatePwrPolStoppingResetDeviceCompletePowerUp 
WdfDevStatePwrPolStoppingResetDeviceFailed 
WdfDevStatePwrPolStoppingD0 
WdfDevStatePwrPolStoppingD0Failed 
WdfDevStatePwrPolStoppingDisarmWake 
WdfDevStatePwrPolStoppingDisarmWakeCancelWake 
WdfDevStatePwrPolStoppingDisarmWakeWakeCanceled 
WdfDevStatePwrPolStopping 
WdfDevStatePwrPolStoppingFailed 
WdfDevStatePwrPolStoppingSendStatus 
WdfDevStatePwrPolStoppingCancelTimer 
WdfDevStatePwrPolStoppingWaitForIdleTimeout 
WdfDevStatePwrPolStoppingCancelUsbSS 
WdfDevStatePwrPolStoppingWaitForUsbSSCompletion 
WdfDevStatePwrPolStoppingCancelWake 
WdfDevStatePwrPolStopped 
WdfDevStatePwrPolCancelUsbSS 
WdfDevStatePwrPolStarted 
WdfDevStatePwrPolStartedCancelTimer 
WdfDevStatePwrPolStartedWaitForIdleTimeout 
WdfDevStatePwrPolStartedWakeCapableCancelTimerForSleep 
WdfDevStatePwrPolStartedWakeCapableWaitForIdleTimeout 
WdfDevStatePwrPolStartedWakeCapableSleepingUsbSS 
WdfDevStatePwrPolStartedIdleCapableCancelTimerForSleep 
WdfDevStatePwrPolStartedIdleCapableWaitForIdleTimeout 
WdfDevStatePwrPolDeviceD0PowerRequestFailed 
WdfDevStatePwrPolDevicePowerRequestFailed 
WdfDevStatePwrPolGotoDx 
WdfDevStatePwrPolGotoDxInDx 
WdfDevStatePwrPolDx 
WdfDevStatePwrPolGotoD0 
WdfDevStatePwrPolGotoD0InD0 
WdfDevStatePwrPolFinal 
WdfDevStatePwrPolSleepingPowerDownNotProcessed 
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownNotProcessed 
WdfDevStatePwrPolTimerExpiredNoWakePowerDownNotProcessed 
WdfDevStatePwrPolTimerExpiredNoWakePoweredDownDisableIdleTimer 
WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown 
WdfDevStatePwrPolStoppingPoweringUp 
WdfDevStatePwrPolStoppingPoweringDown 
WdfDevStatePwrPolPowerUpForSystemSleepNotSeen 
WdfDevStatePwrPolWaitingArmedStoppingCancelUsbSS 
WdfDevStatePwrPolWaitingArmedWakeFailedCancelUsbSS 
WdfDevStatePwrPolWaitingArmedIoPresentCancelUsbSS 
WdfDevStatePwrPolWaitingArmedWakeSucceededCancelUsbSS 
WdfDevStatePwrPolCancelingUsbSSForSystemSleep 
WdfDevStatePwrPolStoppingD0CancelUsbSS 
WdfDevStatePwrPolStartingPoweredUp 
WdfDevStatePwrPolIdleCapableDeviceIdle 
WdfDevStatePwrPolDeviceIdleReturnToActive 
WdfDevStatePwrPolDeviceIdleSleeping 
WdfDevStatePwrPolDeviceIdleStopping 
WdfDevStatePwrPolTimerExpiredNoWakeUndoPowerDown 
WdfDevStatePwrPolWakeCapableDeviceIdle 
WdfDevStatePwrPolWakeCapableUsbSSCompleted 
WdfDevStatePwrPolTimerExpiredWakeCapableUndoPowerDown 
WdfDevStatePwrPolTimerExpiredWakeCompletedHardwareStarted 
WdfDevStatePwrPolStoppedRemoving 
WdfDevStatePwrPolRemoved 
WdfDevStatePwrPolRestarting 
WdfDevStatePwrPolRestartingFailed 
WdfDevStatePwrPolStartingPoweredUpFailed 
WdfDevStatePwrPolTimerExpiredNoWakeReturnToActive 
WdfDevStatePwrPolWaitingArmedWakeInterruptFired 
WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFired 
WdfDevStatePwrPolSystemWakeDeviceWakeInterruptFiredNP 
WdfDevStatePwrPolTimerExpiredWakeCapableWakeInterruptArrived 
WdfDevStatePwrPolTimerExpiredWakeCapablePowerDownFailedWakeInterruptArrived 
WdfDevStatePwrPolWaitingArmedWakeInterruptFiredDuringPowerDown 
WdfDevStatePwrPolNull 

Definition at line 230 of file wdfdevice.h.

230  {
331  WdfDevStatePwrPolStopped = 0x563,
333  WdfDevStatePwrPolStarted = 0x565,
343  WdfDevStatePwrPolGotoDx = 0x56F,
345  WdfDevStatePwrPolDx = 0x571,
346  WdfDevStatePwrPolGotoD0 = 0x572,
348  WdfDevStatePwrPolFinal = 0x574,
374  WdfDevStatePwrPolRemoved = 0x58E,
385  WdfDevStatePwrPolNull = 0x599,
enum _WDF_DEVICE_POWER_POLICY_STATE WDF_DEVICE_POWER_POLICY_STATE
enum _WDF_DEVICE_POWER_POLICY_STATE * PWDF_DEVICE_POWER_POLICY_STATE

◆ _WDF_DEVICE_POWER_STATE

Enumerator
WdfDevStatePowerInvalid 
WdfDevStatePowerObjectCreated 
WdfDevStatePowerCheckDeviceType 
WdfDevStatePowerCheckDeviceTypeNP 
WdfDevStatePowerCheckParentState 
WdfDevStatePowerCheckParentStateNP 
WdfDevStatePowerEnablingWakeAtBus 
WdfDevStatePowerEnablingWakeAtBusNP 
WdfDevStatePowerD0 
WdfDevStatePowerD0NP 
WdfDevStatePowerD0BusWakeOwner 
WdfDevStatePowerD0BusWakeOwnerNP 
WdfDevStatePowerD0ArmedForWake 
WdfDevStatePowerD0ArmedForWakeNP 
WdfDevStatePowerD0DisarmingWakeAtBus 
WdfDevStatePowerD0DisarmingWakeAtBusNP 
WdfDevStatePowerD0Starting 
WdfDevStatePowerD0StartingConnectInterrupt 
WdfDevStatePowerD0StartingDmaEnable 
WdfDevStatePowerD0StartingStartSelfManagedIo 
WdfDevStatePowerDecideD0State 
WdfDevStatePowerGotoD3Stopped 
WdfDevStatePowerStopped 
WdfDevStatePowerStartingCheckDeviceType 
WdfDevStatePowerStartingChild 
WdfDevStatePowerDxDisablingWakeAtBus 
WdfDevStatePowerDxDisablingWakeAtBusNP 
WdfDevStatePowerGotoDx 
WdfDevStatePowerGotoDxNP 
WdfDevStatePowerGotoDxIoStopped 
WdfDevStatePowerGotoDxIoStoppedNP 
WdfDevStatePowerGotoDxNPFailed 
WdfDevStatePowerDx 
WdfDevStatePowerDxNP 
WdfDevStatePowerGotoDxArmedForWake 
WdfDevStatePowerGotoDxArmedForWakeNP 
WdfDevStatePowerGotoDxIoStoppedArmedForWake 
WdfDevStatePowerGotoDxIoStoppedArmedForWakeNP 
WdfDevStatePowerDxArmedForWake 
WdfDevStatePowerDxArmedForWakeNP 
WdfDevStatePowerCheckParentStateArmedForWake 
WdfDevStatePowerCheckParentStateArmedForWakeNP 
WdfDevStatePowerWaitForParentArmedForWake 
WdfDevStatePowerWaitForParentArmedForWakeNP 
WdfDevStatePowerStartSelfManagedIo 
WdfDevStatePowerStartSelfManagedIoNP 
WdfDevStatePowerStartSelfManagedIoFailed 
WdfDevStatePowerStartSelfManagedIoFailedNP 
WdfDevStatePowerWaitForParent 
WdfDevStatePowerWaitForParentNP 
WdfDevStatePowerWakePending 
WdfDevStatePowerWakePendingNP 
WdfDevStatePowerWaking 
WdfDevStatePowerWakingNP 
WdfDevStatePowerWakingConnectInterrupt 
WdfDevStatePowerWakingConnectInterruptNP 
WdfDevStatePowerWakingConnectInterruptFailed 
WdfDevStatePowerWakingConnectInterruptFailedNP 
WdfDevStatePowerWakingDmaEnable 
WdfDevStatePowerWakingDmaEnableNP 
WdfDevStatePowerWakingDmaEnableFailed 
WdfDevStatePowerWakingDmaEnableFailedNP 
WdfDevStatePowerReportPowerUpFailedDerefParent 
WdfDevStatePowerReportPowerUpFailed 
WdfDevStatePowerPowerFailedPowerDown 
WdfDevStatePowerReportPowerDownFailed 
WdfDevStatePowerInitialConnectInterruptFailed 
WdfDevStatePowerInitialDmaEnableFailed 
WdfDevStatePowerInitialSelfManagedIoFailed 
WdfDevStatePowerInitialPowerUpFailedDerefParent 
WdfDevStatePowerInitialPowerUpFailed 
WdfDevStatePowerDxStoppedDisarmWake 
WdfDevStatePowerDxStoppedDisarmWakeNP 
WdfDevStatePowerGotoDxStoppedDisableInterruptNP 
WdfDevStatePowerGotoDxStopped 
WdfDevStatePowerDxStopped 
WdfDevStatePowerGotoStopped 
WdfDevStatePowerStoppedCompleteDx 
WdfDevStatePowerDxStoppedDecideDxState 
WdfDevStatePowerDxStoppedArmForWake 
WdfDevStatePowerDxStoppedArmForWakeNP 
WdfDevStatePowerFinalPowerDownFailed 
WdfDevStatePowerFinal 
WdfDevStatePowerGotoImplicitD3DisarmWakeAtBus 
WdfDevStatePowerUpFailed 
WdfDevStatePowerUpFailedDerefParent 
WdfDevStatePowerGotoDxFailed 
WdfDevStatePowerGotoDxStoppedDisableInterrupt 
WdfDevStatePowerUpFailedNP 
WdfDevStatePowerUpFailedDerefParentNP 
WdfDevStatePowerNotifyingD0ExitToWakeInterrupts 
WdfDevStatePowerNotifyingD0EntryToWakeInterrupts 
WdfDevStatePowerNotifyingD0ExitToWakeInterruptsNP 
WdfDevStatePowerNotifyingD0EntryToWakeInterruptsNP 
WdfDevStatePowerNull 

Definition at line 128 of file wdfdevice.h.

128  {
137  WdfDevStatePowerD0 = 0x307,
151  WdfDevStatePowerStopped = 0x315,
156  WdfDevStatePowerGotoDx = 0x31A,
161  WdfDevStatePowerDx = 0x31F,
181  WdfDevStatePowerWaking = 0x333,
211  WdfDevStatePowerFinal = 0x351,
213  WdfDevStatePowerUpFailed = 0x353,
223  WdfDevStatePowerNull = 0x35D,
enum _WDF_DEVICE_POWER_STATE WDF_DEVICE_POWER_STATE
enum _WDF_DEVICE_POWER_STATE * PWDF_DEVICE_POWER_STATE

◆ _WDF_DEVICE_STATE_FLAGS

Enumerator
WdfDevStateNP 

Definition at line 55 of file wdfdevice.h.

55  {
56  WdfDevStateNP = 0x8000,
WDF_EXTERN_C_START enum _WDF_DEVICE_STATE_FLAGS WDF_DEVICE_STATE_FLAGS

◆ _WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS

Enumerator
WDF_DISPATCH_IRP_TO_IO_QUEUE_NO_FLAGS 
WDF_DISPATCH_IRP_TO_IO_QUEUE_INVOKE_INCALLERCTX_CALLBACK 
WDF_DISPATCH_IRP_TO_IO_QUEUE_PREPROCESSED_IRP 

Definition at line 434 of file wdfdevice.h.

◆ _WDF_FILEOBJECT_CLASS

Enumerator
WdfFileObjectInvalid 
WdfFileObjectNotRequired 
WdfFileObjectWdfCanUseFsContext 
WdfFileObjectWdfCanUseFsContext2 
WdfFileObjectWdfCannotUseFsContexts 
WdfFileObjectCanBeOptional 

Definition at line 458 of file wdfdevice.h.

◆ _WDF_POWER_DEVICE_STATE

Enumerator
WdfPowerDeviceInvalid 
WdfPowerDeviceD0 
WdfPowerDeviceD1 
WdfPowerDeviceD2 
WdfPowerDeviceD3 
WdfPowerDeviceD3Final 
WdfPowerDevicePrepareForHibernation 
WdfPowerDeviceMaximum 

Definition at line 421 of file wdfdevice.h.

◆ _WDF_POWER_POLICY_IDLE_TIMEOUT_CONSTANTS

Enumerator
IdleTimeoutDefaultConstant 

Definition at line 411 of file wdfdevice.h.

411  {
enum _WDF_POWER_POLICY_IDLE_TIMEOUT_CONSTANTS WDF_POWER_POLICY_IDLE_TIMEOUT_CONSTANTS

◆ _WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE

Enumerator
DriverManagedIdleTimeout 
SystemManagedIdleTimeout 
SystemManagedIdleTimeoutWithHint 

Definition at line 1242 of file wdfdevice.h.

1242  {
enum _WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE * PWDF_POWER_POLICY_IDLE_TIMEOUT_TYPE
enum _WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE

◆ _WDF_POWER_POLICY_S0_IDLE_CAPABILITIES

Enumerator
IdleCapsInvalid 
IdleCannotWakeFromS0 
IdleCanWakeFromS0 
IdleUsbSelectiveSuspend 

Definition at line 398 of file wdfdevice.h.

◆ _WDF_POWER_POLICY_S0_IDLE_USER_CONTROL

Enumerator
IdleUserControlInvalid 
IdleDoNotAllowUserControl 
IdleAllowUserControl 

Definition at line 405 of file wdfdevice.h.

◆ _WDF_POWER_POLICY_SX_WAKE_USER_CONTROL

Enumerator
WakeUserControlInvalid 
WakeDoNotAllowUserControl 
WakeAllowUserControl 

Definition at line 415 of file wdfdevice.h.

◆ _WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE

Enumerator
WdfReleaseHardwareOrderOnFailureInvalid 
WdfReleaseHardwareOrderOnFailureEarly 
WdfReleaseHardwareOrderOnFailureAfterDescendants 

Definition at line 473 of file wdfdevice.h.

◆ _WDF_REMOVE_LOCK_OPTIONS_FLAGS

Enumerator
WDF_REMOVE_LOCK_OPTION_ACQUIRE_FOR_IO 

Definition at line 1638 of file wdfdevice.h.

1638  {
enum _WDF_REMOVE_LOCK_OPTIONS_FLAGS WDF_REMOVE_LOCK_OPTIONS_FLAGS

◆ _WDF_REQUEST_TYPE

Enumerator
WdfRequestTypeCreate 
WdfRequestTypeCreateNamedPipe 
WdfRequestTypeClose 
WdfRequestTypeRead 
WdfRequestTypeWrite 
WdfRequestTypeQueryInformation 
WdfRequestTypeSetInformation 
WdfRequestTypeQueryEA 
WdfRequestTypeSetEA 
WdfRequestTypeFlushBuffers 
WdfRequestTypeQueryVolumeInformation 
WdfRequestTypeSetVolumeInformation 
WdfRequestTypeDirectoryControl 
WdfRequestTypeFileSystemControl 
WdfRequestTypeDeviceControl 
WdfRequestTypeDeviceControlInternal 
WdfRequestTypeShutdown 
WdfRequestTypeLockControl 
WdfRequestTypeCleanup 
WdfRequestTypeCreateMailSlot 
WdfRequestTypeQuerySecurity 
WdfRequestTypeSetSecurity 
WdfRequestTypePower 
WdfRequestTypeSystemControl 
WdfRequestTypeDeviceChange 
WdfRequestTypeQueryQuota 
WdfRequestTypeSetQuota 
WdfRequestTypePnp 
WdfRequestTypeOther 
WdfRequestTypeUsb 
WdfRequestTypeNoFormat 
WdfRequestTypeMax 

Definition at line 502 of file wdfdevice.h.

502  { // taken from wdfrequest.h
503  WdfRequestTypeCreate = 0x0,
505  WdfRequestTypeClose = 0x2,
506  WdfRequestTypeRead = 0x3,
507  WdfRequestTypeWrite = 0x4,
510  WdfRequestTypeQueryEA = 0x7,
511  WdfRequestTypeSetEA = 0x8,
519  WdfRequestTypeShutdown = 0x10,
521  WdfRequestTypeCleanup = 0x12,
525  WdfRequestTypePower = 0x16,
529  WdfRequestTypeSetQuota = 0x1A,
530  WdfRequestTypePnp = 0x1B,
531  WdfRequestTypeOther =0x1C,
532  WdfRequestTypeUsb = 0x40,
533  WdfRequestTypeNoFormat = 0xFF,
enum _WDF_REQUEST_TYPE WDF_REQUEST_TYPE

◆ _WDF_SPECIAL_FILE_TYPE

Enumerator
WdfSpecialFileUndefined 
WdfSpecialFilePaging 
WdfSpecialFileHibernation 
WdfSpecialFileDump 
WdfSpecialFileBoot 
WdfSpecialFileMax 

Definition at line 440 of file wdfdevice.h.

◆ _WDF_STATE_NOTIFICATION_TYPE

Enumerator
StateNotificationInvalid 
StateNotificationEnterState 
StateNotificationPostProcessState 
StateNotificationLeaveState 
StateNotificationAllStates 

Definition at line 390 of file wdfdevice.h.

Function Documentation

◆ _Function_class_() [1/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_FILE_CREATE  )

◆ _Function_class_() [2/35]

typedef _Function_class_ ( EVT_WDF_FILE_CLOSE  )

◆ _Function_class_() [3/35]

typedef _Function_class_ ( EVT_WDF_FILE_CLEANUP  )

◆ _Function_class_() [4/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_PNP_STATE_CHANGE_NOTIFICATION  )

◆ _Function_class_() [5/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_POWER_STATE_CHANGE_NOTIFICATION  )

◆ _Function_class_() [6/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_POWER_POLICY_STATE_CHANGE_NOTIFICATION  )

◆ _Function_class_() [7/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_D0_ENTRY  )

◆ _Function_class_() [8/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED  )

◆ _Function_class_() [9/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_D0_EXIT  )

◆ _Function_class_() [10/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED  )

◆ _Function_class_() [11/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_PREPARE_HARDWARE  )

◆ _Function_class_() [12/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_RELEASE_HARDWARE  )

◆ _Function_class_() [13/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP  )

◆ _Function_class_() [14/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_SELF_MANAGED_IO_FLUSH  )

◆ _Function_class_() [15/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_SELF_MANAGED_IO_INIT  )

◆ _Function_class_() [16/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_SELF_MANAGED_IO_SUSPEND  )

◆ _Function_class_() [17/35]

typedef _Function_class_ ( EVT_WDF_DEVICE_SELF_MANAGED_IO_RESTART  )