Redaguoti

ISOSDacInterface::TraverseVirtCallStubHeap Method

Enumerates blocks in a virtual call stub heap for the specified application domain.

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 TraverseVirtCallStubHeap(CLRDATA_ADDRESS pAppDomain, VCSHeapType heaptype, VISITHEAP pCallback);

Parameters

pAppDomain
[in] The address of the application domain that contains the virtual call stub heap.

heaptype
[in] A VCSHeapType enumeration value that identifies the virtual call stub 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 70th slot of the virtual method table.

Requirements

Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7

See also