// wdfdevice.h
EVT_WDF_DEVICE_SELF_MANAGED_IO_FLUSH EvtWdfDeviceSelfManagedIoFlush;
VOID EvtWdfDeviceSelfManagedIoFlush(
[in] WDFDEVICE Device
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
A driver's EvtDeviceSelfManagedIoFlush event callback function handles flush activity for the device's self-managed I/O operations.
Device [in]A handle to a framework device object.
To register an EvtDeviceSelfManagedIoFlush callback function, a driver must call WdfDeviceInitSetPnpPowerEventCallbacks.
If the driver has registered an EvtDeviceSelfManagedIoFlush callback function, the framework calls it after the device has been removed. The driver should flush (that is, remove) I/O requests that are associated with the device's self-managed I/O operations.
For more information about when the framework calls this callback function, see PnP and Power Management Scenarios.
For more information about drivers that provide this callback function, see Using Self-Managed I/O.