다음을 통해 공유


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Hosting Global Static Functions