ICorDebugCode::GetILToNativeMapping Method
Gets an array of COR_DEBUG_IL_TO_NATIVE_MAP Structure instances that represent mappings from Microsoft intermediate language (MSIL) offsets to native offsets.
HRESULT GetILToNativeMapping (
[in] ULONG32 cMap,
[out] ULONG32 *pcMap,
[out, size_is(cMap), length_is(*pcMap)]
COR_DEBUG_IL_TO_NATIVE_MAP map[]
);
Parameters
- cMap
[in] The size of the map array.
- pcMap
[out] A pointer to the actual number of elements returned in the map array.
map
[out] An array of COR_DEBUG_IL_TO_NATIVE_MAP Structure stuctures, each of which represents a mapping from an MSIL offset to a native offset.There is no ordering to the array of elements returned.
Remarks
The GetILToNativeMapping method returns meaningful results only if this ICorDebugCode Interface instance represents native code that was just-in-time (JIT) compiled from MSIL code.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Version: 2.0, 1.1, 1.0