Function Reference


_WinAPI_LoWord

Returns the low word of a longword

#include <WinAPIConv.au3>
_WinAPI_LoWord ( $iLong )

Parameters

$iLong Longword value

Return Value

Returns an low order word of the longword value

Related

_WinAPI_HiWord, _WinAPI_MakeLong

Example

#include <MsgBoxConstants.au3>
#include <WinAPIConv.au3>

Example()

Func Example()
        Local $iWord = 11 * 65535
        MsgBox($MB_SYSTEMMODAL, $iWord, "HiWord: " & _WinAPI_HiWord($iWord) & @CRLF & "LoWord: " & _WinAPI_LoWord($iWord))
EndFunc   ;==>Example