GetRealProcAddress Function
Gets the address of the specified function that is exported from the latest installed version of the common language runtime (CLR).
This function has been deprecated in the .NET Framework 4.
Syntax
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 System Requirements.
Header: MSCorEE.h
Library: MSCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.