RTWQ_WORKQUEUE_TYPE enumeration (rtworkq.h)

Specifies the type of work queue for the RtwqAllocateWorkQueue function to create.

Syntax

typedef enum {
  RTWQ_STANDARD_WORKQUEUE = 0,
  RTWQ_WINDOW_WORKQUEUE = 1,
  RTWQ_MULTITHREADED_WORKQUEUE = 2
} RTWQ_WORKQUEUE_TYPE;

Constants

 
RTWQ_STANDARD_WORKQUEUE
Value: 0
Create a work queue without a message loop.
RTWQ_WINDOW_WORKQUEUE
Value: 1
Create a work queue with a message loop.
RTWQ_MULTITHREADED_WORKQUEUE
Value: 2
Create a multithreaded work queue. This type of work queue uses a thread pool to dispatch work items. The caller is responsible for serializing the work items.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Header rtworkq.h