<-- Previous || Up || Next -->

LOWORD Function
Windows API Class

Public Function LOWORD( _
    ByVal vValue As Long _
    ) As Integer

"Low Word"
Return the low-order word (2 bytes) of a Long (Integer) value.
Return the Integer value whose in-memory representation is the same as the right-most, least-significant-word of Long value vValue.

    LOWORD(345) = 345
    LOWORD(65538) = 2
    LOWORD(131073) = 1
See also:
    HIWORD Function
    LOBYTE Function
    LODWORD Function
    CoerceTwoIntegersToLong Function
    MakeLong Function
    CoerceToInteger Function
Note: Use the CoerceTwoIntegersToLong function to reconstruct a Long from two Integer values.
Note: Similar to but faster than using the MakeLong and CoerceToInteger functions.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.