GetUsedMem

GetUsedMem


Function

The function GetUsedMem returns a size of the allocated memory in the process heap.

Declaration

int GetUsedMem(void)

Return value

Size of the allocated memory in the process heap or –1, if an error in internal heap structures was detected.