An I/O queue notifies a driver when an open file request is available for the driver. The I/O queue notifies the driver in response to an application calling the Microsoft Win32 CreateFile function. The driver can handle the notification by registering the IQueueCallbackCreate interface.
The IQueueCallbackCreate interface inherits from the IUnknown interface. IQueueCallbackCreate also has these types of members:
The IQueueCallbackCreate interface has these methods.
The OnCreateFile method is called to handle an open file request when an application opens a device through the Microsoft Win32 CreateFile function.
A driver registers the IQueueCallbackCreate 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.