RO_INIT_TYPE enumeration (roapi.h)

Determines the concurrency model used for incoming calls to the objects created by this thread.

Syntax

typedef enum RO_INIT_TYPE {
  RO_INIT_SINGLETHREADED = 0,
  RO_INIT_MULTITHREADED = 1
} ;

Constants

 
RO_INIT_SINGLETHREADED
Value: 0
RO_INIT_MULTITHREADED
Value: 1
Initializes the thread for multi-threaded concurrency. The current thread is initialized in the MTA.

Remarks

Pass the RO_INIT_TYPE enumeration to the RoInitialize function to initialize a thread in the Windows Runtime.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header roapi.h

See also

RoInitialize