WDF_FDO_EVENT_CALLBACKS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdffdo-_wdf_fdo_event_callbacks)

_WDF_FDO_EVENT_CALLBACKS structure

Description

[Applies to KMDF only]

The WDF_FDO_EVENT_CALLBACKS structure contains pointers to a function driver's PnP event callback functions.

Members

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.

Remarks

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.

See also

WDF_FDO_EVENT_CALLBACKS_INIT

WDF_PDO_EVENT_CALLBACKS

WdfFdoInitSetEventCallbacks

WdfPdoInitSetEventCallbacks