Export (0) Print
Expand All

Hosting Global Static Functions

This section describes the unmanaged global static functions that the hosting API uses.

CallFunctionShim Function

Makes a call to the function that has the specified name and parameters in the specified library.

ClrCreateManagedInstance Function

Creates an instance of the specified managed type.

CorBindToCurrentRuntime Function

Loads the common language runtime (CLR) into a process by using version information stored in an XML file.

CorBindToRuntime Function

Enables unmanaged hosts to load the CLR into a process.

CorBindToRuntimeByCfg Function

Loads the CLR into a process by using version information that is read from an XML file.

CorBindToRuntimeEx Function

Enables unmanaged hosts to load the CLR into a process, and allows you to set flags to specify the behavior of the CLR.

CorBindToRuntimeHost Function

Enables hosts to load a specified version of the CLR into a process.

CorExitProcess Function

Shuts down the current unmanaged process.

CorLaunchApplication Function

Starts the application at the specified network path, using the specified manifests and other application data.

CorMarkThreadInThreadPool Function

Marks the currently executing thread-pool thread for the execution of managed code.

CreateDebuggingInterfaceFromVersion Function

Creates an ICorDebug object based on the specified version information.

CreateICeeFileGen Function

Creates an ICeeFileGen object.

DestroyICeeFileGen Function

Destroys an ICeeFileGen object.

FExecuteInAppDomainCallback Function Pointer

Points to a function that the CLR calls to execute managed code.

FLockClrVersionCallback Function Pointer

Points to a function that the CLR calls to notify the host that initialization has either started or completed.

GetCLRIdentityManager Function

Gets a pointer to an interface that allows the CLR to manage identities.

GetCORRequiredVersion Function

Gets the required CLR version number.

GetCORSystemDirectory Function

Returns the installation directory of the CLR that is loaded into the process.

GetCORVersion Function

Returns the version number of the CLR that is running in the current process.

GetFileVersion Function

Gets the CLR version information of the specified file, using the specified buffer.

GetRealProcAddress Function

Gets the address of the specified function that is exported from the latest installed version of the CLR.

GetRequestedRuntimeInfo Function

Gets version and directory information about the CLR requested by an application.

GetRequestedRuntimeVersion Function

Gets the version number of the CLR requested by the specified application. If that version is not installed, gets the most recent version that is installed before the requested version.

GetRequestedRuntimeVersionForCLSID Function

Gets the appropriate CLR version information for the class with the specified CLSID.

GetVersionFromProcess Function

Gets the version number of the CLR that is associated with the specified process handle.

LoadLibraryShim Function

Loads a specified version of a .NET Framework DLL.

LoadStringRC Function

Translates an HRESULT value into an error message by using the default culture of the current thread.

LoadStringRCEx Function

Translates an HRESULT value to an appropriate error message for the specified culture.

LockClrVersion Function

Allows the host to determine which version of the CLR will be used within the process before explicitly initializing the CLR.

LPOVERLAPPED_COMPLETION_ROUTINE Function Pointer

Points to a function that notifies the host when an overlapped (that is, asynchronous) I/O to a device has completed.

LPTHREAD_START_ROUTINE Function Pointer

Points to a function that notifies the host that a thread has started to execute.

RunDll32ShimW Function

Executes the specified command.

WAITORTIMERCALLBACK Function Pointer

Points to a function that notifies the host that a wait handle has either been signaled or timed out.

Community Additions

ADD
Show:
© 2014 Microsoft