Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
Enumerates blocks in the specified loader heap.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.
Syntax
HRESULT TraverseLoaderHeap(CLRDATA_ADDRESS loaderHeapAddr, VISITHEAP pCallback);
Parameters
loaderHeapAddr
[in] The address of the loader heap to traverse.
pCallback
[in] A VISITHEAP callback function that receives each heap block.
Remarks
The VISITHEAP callback has the signature void (*VISITHEAP)(CLRDATA_ADDRESS blockData,size_t blockSize,BOOL blockIsCurrentBlock). The runtime calls the callback for each heap block and supplies the block address, block size, and a value that indicates whether the block is the current block.
The provided method is part of the ISOSDacInterface interface and corresponds to the 68th slot of the virtual method table.
Requirements
Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7