An I/O queue object notifies a driver when a device I/O control request is available for the driver. The I/O queue object notifies the driver in response to an application calling the Microsoft Win32 DeviceIoControl function. The driver can handle the notification by registering the IQueueCallbackDeviceIoControl interface.
The IQueueCallbackDeviceIoControl interface inherits from the IUnknown interface. IQueueCallbackDeviceIoControl also has these types of members:
The IQueueCallbackDeviceIoControl interface has these methods.
The OnDeviceIoControl method is called to handle a device I/O control request when an application performs a specific operation on a device through the Microsoft Win32 OnDeviceIoControl function.
A driver registers the IQueueCallbackDeviceIoControl interface when it calls the IWDFDevice::CreateIoQueue method to create an I/O queue or to configure the default I/O queue. For more information about creating or configuring an I/O queue, see Configuring Dispatch Mode for an I/O Queue.