Group: Memory Management - Library: kernel32
The GlobalMemoryStatus function obtains information about the system"s current usage of both physical and virtual memory.
VOID GlobalMemoryStatus(
LPMEMORYSTATUS lpBuffer // memory status structure
);
DECLARE GlobalMemoryStatus IN kernel32 STRING @ lpBuffer
lpBuffer [out] Pointer to a MEMORYSTATUS structure. The GlobalMemoryStatus function stores information about current memory availability into this structure
This function does not return a value
On computers with more than 4 GB of memory, the MEMORYSTATUS structure can return incorrect information.