MEMORYSTATUSEX Structure

Type MEMORYSTATUSEX
  dwLength As Long
  dwMemoryLoad As Long
  ullTotalPhys As ULARGE_INTEGER
  ullAvailPhys As ULARGE_INTEGER
  ullTotalPageFile As ULARGE_INTEGER
  ullAvailPageFile As ULARGE_INTEGER
  ullTotalVirtual As ULARGE_INTEGER
  ullAvailVirtual As ULARGE_INTEGER
  ullAvailExtendedVirtual As ULARGE_INTEGER
End Type

Description & Usage

The MEMORYSTATUSEX structure holds information about the computer's memory. The structure stores the amounts of total and available physical memory and virtual memory. All values for amounts of memory are stored as 64-bit integers.

Visual Basic-Specific Issues

None.

Data Members

dwLength
The size in bytes of the structure.
dwMemoryLoad
The percentage of total physical memory in use.
ullTotalPhys
The number of bytes of total physical memory.
ullAvailPhys
The number of bytes of available physical memory.
ullTotalPageFile
The largest possible size, in bytes, of the paging file. This is not necessarily the current size of the paging file.
ullAvailPageFile
The amount of space, in bytes, currently available in the paging file.
ullTotalVirtual
The number of bytes of total virtual memory.
ullAvailVirtual
The number of bytes of available virtual memory.
ullAvailExtendedVirtual
The number of bytes of unreserved and uncommitted memory in the extended portion of virtual memory.

Used By

GlobalMemoryStatusEx

Back to the Structure list.
Back to the Reference section.


Last Modified: April 16, 2000
This page is copyright © 2000 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/m/memorystatusex.html