Expand Minimize

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 version 4.

HRESULT GetRealProcAddress (
    [in]  LPCSTR  pwszProcName, 
    [out] VOID  **ppv
);

pwszProcName

[in] The name of the function.

ppv

[out] The location that receives a pointer to the address of the function.

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.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft