// wdfdevice.h
typedef enum _WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS {
WDF_DISPATCH_IRP_TO_IO_QUEUE_NO_FLAGS = 0x00000000,
WDF_DISPATCH_IRP_TO_IO_QUEUE_INVOKE_INCALLERCTX_CALLBACK = 0x00000001,
WDF_DISPATCH_IRP_TO_IO_QUEUE_PREPROCESSED_IRP = 0x00000002
} WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF only]
The WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS enumeration type defines flags that the driver can specify when it calls WdfDeviceWdmDispatchIrpToIoQueue.
WDF_DISPATCH_IRP_TO_IO_QUEUE_NO_FLAGS:0x00000000No flags are set.
WDF_DISPATCH_IRP_TO_IO_QUEUE_INVOKE_INCALLERCTX_CALLBACK:0x00000001Specifies that the framework should call the EvtIoInCallerContext callback function before inserting the request into the queue.
WDF_DISPATCH_IRP_TO_IO_QUEUE_PREPROCESSED_IRP:0x00000002Specifies that the IRP was preprocessed by the driver's EvtDeviceWdmIrpPreprocess callback function. Accordingly, the framework adjusts the IRP's stack location to the next entry before inserting it into the queue.
For more information about specifying queues for IRPs as they arrive, see Dispatching IRPs to I/O Queues.
WdfDeviceWdmDispatchIrpToIoQueue