Loads the common language runtime (CLR) into a process by using version information that is read from an XML file.
This function has been deprecated in the .NET Framework 4.
HRESULT CorBindToRuntimeByCfg ( [in] IStream *pCfgStream, [in] DWORD reserved, [in] DWORD startupFlags, [in] REFCLSID rclsid, [in] REFIID riid, [out] LPVOID FAR* ppv );
[in] A pointer to an
IStream object that reads the XML file.
[in] Reserved for future use. Use 0 (zero) as value.
[in] A value of the STARTUP_FLAGS enumeration that specifies the startup behavior of the CLR.
IID of either the
ICorRuntimeHost or the
ICLRRuntimeHost interface. Supported values are IID_ICorRuntimeHost or IID_ICLRRuntimeHost.
[out] A pointer to the address of the returned interface.
The format of the XML file is modeled after the standard application configuration file. For more information about XML files, see Configuration File Schema.
Platforms: See System Requirements.
.NET Framework Versions: Available since 1.0
Send feedback about: