Stores information about the heaps of a process into an array.

AProcessHeaps(cArrayName, nProcessID)

Parameters

cArrayName
On return the array contains the following information from the HEAPLIST32 structure.
ColumnContentDatatype
1Heap IDN
2FlagsN
nProcessID

The process ID of the process for which to enumerate the heaps.

Return Value

The number of process heaps.

See Also

Reference

AHeapBlocks
AProcesses
AProcessModules
AProcessThreads

Used WinApi functions

CreateToolhelp32Snapshot
Heap32ListFirst
Heap32ListNext