Gets the chunks of code that this code object is composed of.
HRESULT GetCodeChunks ( [in] ULONG32 cbufSize, [out] ULONG32 *pcnumChunks, [out, size_is(cbufSize), length_is(*pcnumChunks)] CodeChunkInfo chunks );
[in] Size of the
[out] The number of chunks returned in the
[out] An array of "CodeChunkInfo" structures, each of which represents a single chunk of code. If the value of
cbufSize is 0, this parameter can be null.
The code chunks will never overlap, and they will follow the order in which they would have been concatenated by ICorDebugCode::GetCode. A Microsoft intermediate language (MSIL) code object in the .NET Framework version 2.0 will comprise a single code chunk.
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: Available since 2.0
Send feedback about: