This function gets information on the physical and virtual memory of the system.
void GlobalMemoryStatus( LPMEMORYSTATUS lpBuffer );
[out] Pointer to a MEMORYSTATUS structure. The GlobalMemoryStatus function stores information about current memory availability in this structure.
You can use the GlobalMemoryStatus function to determine how much memory your application can allocate without severely impacting other applications.
The information returned by the GlobalMemoryStatus function is volatile. There is no guarantee that two sequential calls to this function will return the same information.
|Runs on||Versions||Defined in||Include||Link to|
|Windows CE OS||1.0 and later||Winbase.h||Coredll.lib|
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.