Stores information about all blocks allocated from the library internal heap into an array.

AMemBlocks(cArrayName)

Parameters

cArrayName
On return the array contains the following information from the PROCESS_HEAP_ENTRY structure.
ColumnContentDatatype
1A pointer to the data portion of the heap element.N
2The size of the data portion of the heap element, in bytes.N
3The size of the data used by the system to maintain information about the heap element, in bytes.N

Return Value

The number of memory blocks.

See Also

Reference

AllocHGlobal
AllocMem
AllocMemTo
CompactMem
FreeHGlobal
FreeMem
FreePMem
FreeRefArray
LockHGlobal
ReAllocHGlobal
ReAllocMem
SizeOfMem
UnlockHGlobal
ValidateMem

Used WinApi functions

HeapWalk