WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS enumeration (wdfdevice.h)

[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.

Syntax

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;

Constants

 
WDF_DISPATCH_IRP_TO_IO_QUEUE_NO_FLAGS
Value: 0x00000000
No flags are set.
WDF_DISPATCH_IRP_TO_IO_QUEUE_INVOKE_INCALLERCTX_CALLBACK
Value: 0x00000001
Specifies that the framework should call the EvtIoInCallerContext callback function before inserting the request into the queue.
WDF_DISPATCH_IRP_TO_IO_QUEUE_PREPROCESSED_IRP
Value: 0x00000002
Specifies 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.

Remarks

For more information about specifying queues for IRPs as they arrive, see Dispatching IRPs to I/O Queues.

Requirements

Requirement Value
Minimum KMDF version 1.11
Header wdfdevice.h (include Wdf.h)

See also

EvtDeviceWdmIrpPreprocess

WdfDeviceWdmDispatchIrpToIoQueue