Retourne le mot de poids fort d'une valeur LongWord
#include <WinAPIConv.au3>
_WinAPI_HiWord ( $iLong )
$iLong | Valeur LongWord |
_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