getreservedmem

Description:

Processes call getreservedmem to read the size of a specified memory block or of all system memory used as reserved memory.

Function Prototype:

MEMVAR getreservedmem (MEMBINFO * pmembinfo);

Parameters:

pmembinfo

A pointer to a MEMBINFO-struct specifiing the block to receive the information about. If this parameter is a NULL-pointer, the function will return the amount of all system memory used as reserved memory.

Return Values:

Returns the size in bytes of a reserved memory block if specified or the overall amount of system memory that has been reserved.


See also malloc, remalloc, memset, free, getfreemem, getusedmem, getlasterror