COINITIEE Enumeration

Specifies constants used by CoInitializeEE when initializing the common language runtime.

Syntax

typedef enum tagCOINITEE {  
   COINITEE_DEFAULT = 0x0,  
   COINITEE_DLL     = 0x1,  
   COINITEE_MAIN    = 0x2  
} COINITIEE;  

Members

Member Description
COINITEE_DEFAULT Default initialization mode. This initializes the runtime and creates the default AppDomain.
COINITEE_DLL Initializes to run a managed DLL.
COINITEE_MAIN Initializes to run a managed EXE. This initializes the runtime but does not create the default AppDomain, which is created after entering the main routine of the EXE.

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also