// wdfpdo.h
typedef struct _WDF_PDO_EVENT_CALLBACKS {
ULONG Size;
PFN_WDF_DEVICE_RESOURCES_QUERY EvtDeviceResourcesQuery;
PFN_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY EvtDeviceResourceRequirementsQuery;
PFN_WDF_DEVICE_EJECT EvtDeviceEject;
PFN_WDF_DEVICE_SET_LOCK EvtDeviceSetLock;
PFN_WDF_DEVICE_ENABLE_WAKE_AT_BUS EvtDeviceEnableWakeAtBus;
PFN_WDF_DEVICE_DISABLE_WAKE_AT_BUS EvtDeviceDisableWakeAtBus;
PFN_WDF_DEVICE_REPORTED_MISSING EvtDeviceReportedMissing;
} WDF_PDO_EVENT_CALLBACKS, *PWDF_PDO_EVENT_CALLBACKS;
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF only]
The WDF_PDO_EVENT_CALLBACKS structure is the dispatch table for a bus driver's event callback functions.
SizeThe size, in bytes, of this structure.
EvtDeviceResourcesQueryA pointer to the driver's EvtDeviceResourcesQuery event callback function, or NULL.
EvtDeviceResourceRequirementsQueryA pointer to the driver's EvtDeviceResourceRequirementsQuery event callback function, or NULL.
EvtDeviceEjectA pointer to the driver's EvtDeviceEject event callback function, or NULL.
EvtDeviceSetLockA pointer to the driver's EvtDeviceSetLock event callback function, or NULL.
EvtDeviceEnableWakeAtBusA pointer to the driver's EvtDeviceEnableWakeAtBus event callback function, or NULL.
EvtDeviceDisableWakeAtBusA pointer to the driver's EvtDeviceDisableWakeAtBus event callback function, or NULL.
EvtDeviceReportedMissingA pointer to the driver's EvtDeviceReportedMissing event callback function, or NULL. The EvtDeviceReportedMissing member is available in version 1.11 and later versions of KMDF.
The WDF_PDO_EVENT_CALLBACKS structure is used as input to WdfPdoInitSetEventCallbacks.
Drivers must call WDF_PDO_EVENT_CALLBACKS_INIT to initialize this structure.