Function Reference


_WinAPI_WordToShort

Converts a value of type WORD to a value of type SHORT

#include <WinAPIMisc.au3>
_WinAPI_WordToShort ( $iValue )

Parameters

$iValue The value to be converted.

Return Value

Returns the converted (SHORT) value.

Example

#include <WinAPIMisc.au3>

Local $iValue = 65535

ConsoleWrite(_WinAPI_WordToShort($iValue) & @CRLF)