ICorProfilerInfo::GetFunctionFromIP Method

Maps a managed code instruction pointer to a FunctionID.

HRESULT GetFunctionFromIP(
    [in]  LPCBYTE    ip,
    [out] FunctionID *pFunctionId);

Parameters

  • ip
    [in] The instruction pointer in managed code.

  • pFunctionId
    [out] The returned function ID.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerInfo Interface