WDF_IO_QUEUE_DISPATCH_TYPE enumeration (wudfddi_types.h)

[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,
  WdfIoQueueDispatchParallel,
  WdfIoQueueDispatchManual,
  WdfIoQueueDispatchMaximum
} 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.

Requirements

Requirement Value
Header wudfddi_types.h (include Wudfddi.h)

See also

IWDFIoQueue::RetrieveNextRequest

IWDFIoRequest::Complete