IQueueCallbackIoCanceledOnQueue interface (wudfddi.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

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.

Inheritance

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

  • Methods

Methods

The IQueueCallbackIoCanceledOnQueue interface has these methods.

 
IQueueCallbackIoCanceledOnQueue::OnIoCanceledOnQueue

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.

Remarks

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.

Requirements

Requirement Value
Target Platform Windows
Header wudfddi.h