ULARGE_INTEGER Structure

Type ULARGE_INTEGER
  LowPart As Long
  HighPart As Long
End Type

Description & Usage

The ULARGE_INTEGER structure stores a 64-bit unsigned integer. Unsigned integers range in value from &H0 to &HFFFFFFFFFFFFFFFF (or in decimal, 264). This structure is defined primarily for languages (such as Visual Basic but including many others) which have no intrinsic support for 64-bit unsigned integers. The structure splits the value into two 32-bit halves: a high-order half and a low-order half. If the programming language you use does support 64-bit unsigned integers, you can replace the two data members of this structure with a single value (or use that data type instead of the structure altogether).

Visual Basic-Specific Issues

There is a way to use a variable of the Currency data type to represent a 64-bit integer. For more information, read the article "Faking 64-bit Integers."

Data Members

LowPart
The 32-bit low-order half of the full 64-bit unsigned integer.
HighPart
The 32-bit high-order half of the full 64-bit unsigned integer.

Used By

GetDiskFreeSpaceEx, MEMORYSTATUSEX, SHQUERYRBINFO

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


Last Modified: March 19, 2000
This page is copyright © 1999 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/u/ularge_integer.html