Returns the high word of a longword value
#include <WinAPIConv.au3> _WinAPI_HiWord ( $iLong )
_WinAPI_LoWord, _WinAPI_MakeLong
#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