IQueueCallbackIoCanceledOnQueue interface

The IQueueCallbackIoCanceledOnQueue interface is optional. Your driver can provide this interface if you want UMDF to notify the driver when an I/O request is canceled while it is in the driver's I/O queue.


The IQueueCallbackIoCanceledOnQueue interface inherits from the IUnknown interface. IQueueCallbackIoCanceledOnQueue also has these types of members:


The IQueueCallbackIoCanceledOnQueue interface has these methods.


A driver's OnIoCanceledOnQueue event callback function informs the driver that an I/O request was canceled while it was in an I/O queue.



To register an IQueueCallbackIoCanceledOnQueue interface for an I/O queue, the driver must provide a QueryInterface function for the I/O queue object. The QueryInterface function must return a pointer to the IQueueCallbackIoCanceledOnQueue interface. UMDF calls the QueryInterface method of the IUnknown interface that the driver passes to IWDFDevice::CreateIoQueue.



Send comments about this topic to Microsoft

© 2016 Microsoft