WDF_IO_QUEUE_DISPATCH_TYPE enumeration

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The WDF_IO_QUEUE_DISPATCH_TYPE enumeration contains values that identify how a driver must receive requests from an I/O queue.

Syntax


typedef enum _WDF_IO_QUEUE_DISPATCH_TYPE { 
  WdfIoQueueDispatchSequential  = 1,
  WdfIoQueueDispatchParallel    = 2,
  WdfIoQueueDispatchManual      = 3,
  WdfIoQueueDispatchMaximum     = ( WdfIoQueueDispatchManual + 1 )
} WDF_IO_QUEUE_DISPATCH_TYPE;

Constants

WdfIoQueueDispatchSequential

The I/O queue's requests are presented to the driver's I/O queue callback functions one at a time. The framework delivers the next request after the driver calls the IWDFIoRequest::Complete method to complete the current request.

WdfIoQueueDispatchParallel

The framework presents requests to the driver's I/O queue callback functions as soon as the requests are available.

WdfIoQueueDispatchManual

The framework places requests into the queue but does not deliver them to the driver. The driver must call the IWDFIoQueue::RetrieveNextRequest method to retrieve a request from the queue.

WdfIoQueueDispatchMaximum

Valid enumeration values were exceeded.

Remarks

Requirements

Header

Wudfddi.h (include Wudfddi.h)

See also

IWDFIoQueue::RetrieveNextRequest
IWDFIoRequest::Complete

 

 

Send comments about this topic to Microsoft

Show: