Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Gets the chunks of code that this code object is composed of.
Syntax
HRESULT GetCodeChunks (
[in] ULONG32 cbufSize,
[out] ULONG32 *pcnumChunks,
[out, size_is(cbufSize), length_is(*pcnumChunks)]
CodeChunkInfo chunks[]
);
Parameters
cbufSize
[in] Size of the chunks array.
pcnumChunks
[out] The number of chunks returned in the chunks array.
chunks
[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.
Remarks
The code chunks will never overlap, and they will follow the order in which they would have been concatenated by ICorDebugCode::GetCode. A common intermediate language (CIL) code object comprises a single code chunk.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 2.0