[This is preliminary documentation and subject to change.]
The MEMORYSTATUSVLM structure contains information about the current state of both physical and virtual memory. The GlobalMemoryStatusVlm function stores information in a MEMORYSTATUSVLM structure.
typedef struct _MEMORYSTATUSVLM {
DWORD dwLength; // sizeof(MEMORYSTATUSVLM)
DWORD dwMemoryLoad; // percent of memory in use
DWORDLONG ullTotalPhys; // bytes of physical memory
DWORDLONG ullAvailPhys; // free physical memory bytes
DWORDLONG ullTotalPageFile; // bytes of paging file
DWORDLONG ullAvailPageFile; // free bytes of paging file
DWORDLONG ullTotalVirtual; // user bytes of address space
DWORDLONG ullAvailVirtual; // free user bytes
DWORDLONG ullAvailExtendedVirtual;
} MEMORYSTATUSVLM, *LPMEMORYSTATUSVLM;
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in winbase.h.
Memory Management Overview, Memory Management Structures, Very Large Memory (VLM), MEMORYSTATUS, GlobalMemoryStatus, GlobalMemoryStatusVlm