DISPATCHERQUEUE_THREAD_TYPE enumeration (dispatcherqueue.h)

Defines constants that specify options around threading affinity for a new DispatcherQueueController.

Syntax

typedef enum DISPATCHERQUEUE_THREAD_TYPE {
  DQTYPE_THREAD_DEDICATED = 1,
  DQTYPE_THREAD_CURRENT = 2
} ;

Constants

 
DQTYPE_THREAD_DEDICATED
Value: 1
Specifies that the DispatcherQueue for the DispatcherQueueController will be created on a dedicated thread.
DQTYPE_THREAD_CURRENT
Value: 2
Specifies that the DispatcherQueue for the DispatcherQueueController will be created on the caller's thread.

Remarks

See Remarks for CreateDispatcherQueueController.

Introduced in Windows 10, version 1709.

Requirements

Requirement Value
Header dispatcherqueue.h

See also

CreateDispatcherQueueController

DispatcherQueueOptions