WinRTInitializationType Enumeration
Used by the WinRTInitialization policy to describe whether and how the Windows Runtime will be initialized on scheduler threads for an application which runs on operating systems with version Windows 8 or higher. For more information on available scheduler policies, see PolicyElementKey Enumeration.
enum WinRTInitializationType;
Members
Values
Name |
Description |
---|---|
DoNotInitializeWinRT |
When the application is run on operating systems with version Windows 8 or higher, threads within the scheduler will not initialize the Windows Runtime . |
InitializeWinRTAsMTA |
When the application is run on operating systems with version Windows 8 or higher, each thread within the scheduler will initialize the Windows Runtime and declare that it is part of the multithreaded apartment. |
Requirements
Header: concrt.h
Namespace: concurrency