EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfdevice.h

EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP EvtWdfDeviceSelfManagedIoCleanup;

VOID EvtWdfDeviceSelfManagedIoCleanup(
  [in] WDFDEVICE Device
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdfdevice-evt_wdf_device_self_managed_io_cleanup)

EVT_WDF_DEVICE_SELF_MANAGED_IO_CLEANUP callback function

Description

[Applies to KMDF and UMDF]

A driver's EvtDeviceSelfManagedIoCleanup event callback function handles deallocation activity for the device's self-managed I/O operations, after a device has been removed.

Parameters

Device [in]

A handle to a framework device object.

Remarks

To register an EvtDeviceSelfManagedIoCleanup callback function, a driver must call WdfDeviceInitSetPnpPowerEventCallbacks.

If the driver has registered an EvtDeviceSelfManagedIoCleanup callback function, the framework calls it after the specified device has been removed from the system. For more information about when the framework calls this callback function, see PnP and Power Management Scenarios.

The framework calls the driver's EvtDeviceSelfManagedIoCleanup callback function after it has called the driver's EvtDeviceSelfManagedIoSuspend callback function. The EvtDeviceSelfManagedIoCleanup callback function must release any system resources that the driver allocated and 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.

See also

EvtDeviceSelfManagedIoFlush

EvtDeviceSelfManagedIoInit

EvtDeviceSelfManagedIoRestart

EvtDeviceSelfManagedIoSuspend