Freigeben über


ICorProfilerInfo2::GetCodeInfo2 Method

Gets the extents of native code associated with the specified FunctionID.

HRESULT GetCodeInfo2(
    [in] FunctionID functionID,
    [in] ULONG32 cCodeInfos,
    [out] ULONG32 *pcCodeInfos,
    [out, size_is(cCodeInfos), length_is(*pcCodeInfos)]
        COR_PRF_CODE_INFO codeInfos[]);

Parameters

Parameter Description

functionID

[in] The ID of the function with which the native code is associated.

cCodeInfos

[in] The size of the codeInfos array.

pcCodeInfos

[out] The number of elements returned in the codeInfos array.

codeInfos

[out] An array of COR_PRF_CODE_INFO Structure structures, each of which describes a block of native code.

Remarks

The extents are sorted in order of increasing Microsoft intermediate language (MSIL) offset.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerInfo Interface
ICorProfilerInfo2 Interface