GetRealProcAddress Function
Gets the address of the specified function that is exported from the latest installed version of the common language runtime (CLR).
HRESULT GetRealProcAddress (
[in] LPCSTR pwszProcName,
[out] VOID **ppv
);
Parameters
pwszProcName
[in] The name of the function.ppv
[out] The location that receives a pointer to the address of the function.
Return Value
This method returns standard Component Object Model (COM) error codes, as defined in WinError.h, in addition to the following values defined in CorError.h.
Return code |
Description |
---|---|
S_OK |
The method completed successfully. |
E_POINTER |
ppv is not valid. |
CLR_E_SHIM_RUNTIMEEXPORT |
The function is not exported from the runtime. |
Requirements
Platforms: See .NET Framework System Requirements.
Header: MSCorEE.idl
Library: MSCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0