Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.71 KB

coinitializeee-function.md

File metadata and controls

63 lines (46 loc) · 1.71 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: CoInitializeEE Function
CoInitializeEE Function
03/30/2017
CoInitializeEE
mscoree.dll
mscorsvr.dll
DLLExport
CoInitializeEE
CoInitializeEE function [.NET Framework hosting]
7e42a928-5068-4ba6-b8c3-806551a01fa8
apiref

CoInitializeEE Function

Ensures that the common language runtime execution engine is loaded into a process. This function is deprecated in the .NET Framework 4. Use the ICLRRuntimeHost::Start method instead.

Syntax

HRESULT CoInitializeEE (  
   [in] DWORD fFlags  
);  

Parameters

fFlags
[in] One of the COINITIEE enumeration constants.

Return Value

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

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.

Remarks

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

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: [!INCLUDEnet_current_v10plus]

See also