LARGE_INTEGER Structure

Type LARGE_INTEGER
	LowPart As Long
	HighPart As Long
End Type

Description & Usage

The LARGE_INTEGER structure stores a 64-bit signed integer. Unsigned integers range in value from -263 to 263 - 1. This structure is defined primarily for languages (such as Visual Basic but including many others) which have no intrinsic support for 64-bit signed 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 signed 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 signed integer.
HighPart
The 32-bit high-order half of the full 64-bit signed integer.

Used By

QueryPerformanceCounter, QueryPerformanceFrequency

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


Last Modified: August 26, 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/l/large_integer.html