GlobalMemoryStatusVlm

[This is preliminary documentation and subject to change.]

The GlobalMemoryStatusVlm function obtains information about the computer's current usage of both physical and virtual memory.

VOID GlobalMemoryStatusVlm(
  LPMEMORYSTATUSVLM lpBuffer   // pointer to a memory status structure
);
 

Parameters

lpBuffer
Pointer to a MEMORYSTATUSVLM structure. GlobalMemoryStatusVlm stores information about current memory availability in this structure.

Return Values

This function does not return a value.

Remarks

You can use the GlobalMemoryStatusVlm function to determine how much memory your application can allocate without severely impacting other applications.

The information returned by the GlobalMemoryStatusVlm function is volatile. There is no guarantee that two sequential calls to this function will return the same information.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winbase.h.
  Import Library: Use kernel32.lib.

See Also

Memory Management Overview, Memory Management Functions, Very Large Memory (VLM), GlobalMemoryStatus, MEMORYSTATUSVLM