Expand Minimize

WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS enumeration

[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

No flags are set.

WDF_DISPATCH_IRP_TO_IO_QUEUE_INVOKE_INCALLERCTX_CALLBACK

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

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

Minimum KMDF version

1.11

Header

Wdfdevice.h (include Wdf.h)

See also

WdfDeviceWdmDispatchIrpToIoQueue
EvtDeviceWdmIrpPreprocess

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft