The IPnpCallbackSelfManagedIo interface is a Plug and Play (PnP) and power management (PM) interface.
The IPnpCallbackSelfManagedIo interface inherits from the IUnknown interface. IPnpCallbackSelfManagedIo also has these types of members:
The IPnpCallbackSelfManagedIo interface has these methods.
The OnSelfManagedIoCleanup method releases memory for a device's self-managed I/O operations, after the device is removed.
The OnSelfManagedIoFlush method flushes the device for a device's self-managed I/O operations.
The OnSelfManagedIoInit method initializes a device's self-managed I/O operations.
The OnSelfManagedIoRestart method restarts a device's self-managed I/O operations.
The OnSelfManagedIoStop method is not used in the current version of the UMDF.
The OnSelfManagedIoSuspend method suspends a device's self-managed I/O operations.
A driver registers the IPnpCallbackSelfManagedIo interface when the driver calls the IWDFDriver::CreateDevice method to create a device object.