// wdffdo.h
typedef struct _WDF_FDO_EVENT_CALLBACKS {
ULONG Size;
PFN_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS EvtDeviceFilterAddResourceRequirements;
PFN_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS EvtDeviceFilterRemoveResourceRequirements;
PFN_WDF_DEVICE_REMOVE_ADDED_RESOURCES EvtDeviceRemoveAddedResources;
} WDF_FDO_EVENT_CALLBACKS, *PWDF_FDO_EVENT_CALLBACKS;
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF only]
The WDF_FDO_EVENT_CALLBACKS structure contains pointers to a function driver's PnP event callback functions.
Size
The size, in bytes, of this structure.
EvtDeviceFilterAddResourceRequirements
A pointer to the driver's EVT_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS event callback function, or NULL.
EvtDeviceFilterRemoveResourceRequirements
A pointer to the driver's EVT_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS event callback function, or NULL.
EvtDeviceRemoveAddedResources
A pointer to the driver's EvtDeviceRemoveAddedResources event callback function, or NULL.
The WDF_FDO_EVENT_CALLBACKS structure is used as input to the WdfFdoInitSetEventCallbacks method.
Drivers must call WDF_FDO_EVENT_CALLBACKS_INIT to initialize the structure.
A driver that specifies an EvtDeviceFilterAddResourceRequirements event callback function must also specify an EvtDeviceRemoveAddedResources event callback function.