DISPATCHERQUEUE_THREAD_APARTMENTTYPE enumeration (dispatcherqueue.h)

Specifies the threading apartment type for a new DispatcherQueueController.

Syntax

typedef enum DISPATCHERQUEUE_THREAD_APARTMENTTYPE {
  DQTAT_COM_NONE,
  DQTAT_COM_ASTA,
  DQTAT_COM_STA
} ;

Constants

Name Description
DQTAT_COM_NONE No COM threading apartment type specified.
DQTAT_COM_ASTA Specifies an application single-threaded apartment (ASTA) COM threading apartment.
DQTAT_COM_STA Specifies a single-threaded apartment (STA) COM threading apartment.

Remarks

This value is relevant when DispatcherQueueOptions.threadType is DQTYPE_THREAD_DEDICATED. Use DQTAT_COM_NONE when DispatcherQueueOptions.threadType is DQTYPE_THREAD_CURRENT.

Introduced in Windows 10, version 1709.

Requirements

   
Header dispatcherqueue.h

See also

CreateDispatcherQueueController

DispatcherQueueOptions