MEMORYSTATUSVLM

[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; 
 

Members

dwLength
Size, in bytes, of the MEMORYSTATUSVLM data structure. You do not need to set this member before calling the GlobalMemoryStatusVlm function; GlobalMemoryStatusVlm sets it.
dwMemoryLoad
Number between 0 and 100 that gives a general idea of current memory utilization, in which 0 indicates no memory use and 100 indicates full memory use.
ullTotalPhys
Total number of bytes of physical memory.
ullAvailPhys
Number of bytes of physical memory available.
ullTotalPageFile
Total number of bytes that can be stored in the paging file. Note that this number does not represent the actual physical size of the paging file on disk.
ullAvailPageFile
Number of bytes available in the paging file.
ullTotalVirtual
Total number of bytes that can be described in the user mode portion of the virtual address space of the calling process.
ullAvailVirtual
Number of bytes of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process.
ullAvailExtendedVirtual
Number of bytes of unreserved and uncommitted memory in the VLM portion of the virtual address space of the calling process. The total memory available in VLM space is 28 GB.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winbase.h.

See Also

Memory Management Overview, Memory Management Structures, Very Large Memory (VLM), MEMORYSTATUS, GlobalMemoryStatus, GlobalMemoryStatusVlm