Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines constants that specify options around type of COM apartment for a new DispatcherQueueController.
Syntax
typedef enum DISPATCHERQUEUE_THREAD_APARTMENTTYPE {
DQTAT_COM_NONE = 0,
DQTAT_COM_ASTA = 1,
DQTAT_COM_STA = 2
} ;
Constants
DQTAT_COM_NONEValue: 0 No COM threading apartment type specified. |
DQTAT_COM_ASTAValue: 1 Specifies an application single-threaded apartment (ASTA) COM threading apartment. |
DQTAT_COM_STAValue: 2 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.
Also see Remarks for CreateDispatcherQueueController.
Introduced in Windows 10, version 1709.
Requirements
| Requirement | Value |
|---|---|
| Header | dispatcherqueue.h |