Export (0) Print
Expand All

CoInitializeEE Function

Ensures that the common language runtime execution engine is loaded into a process.


HRESULT CoInitializeEE (
   DWORD fFlags
);

Parameters

Parameter Description

fFlags

[in] One of the COINITIEE Enumeration enumeration constants.

This method returns standard COM error codes as defined in Winerror.h, and the following values.

Return code Description

S_OK

The execution engine was loaded successfully.

S_FALSE

The execution engine is already loaded.

E_FAIL

The execution engine could not be loaded.

This method loads the execution engine if it has not been previously loaded.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft