Function Reference


_WinAPI_WordToShort

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

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

Parameters

$iValue The value to be converted.

Return Value

Returns the converted (SHORT) value.

Example

#include <WinAPIConv.au3>

Local $iValue = 65535

ConsoleWrite(_WinAPI_WordToShort($iValue) & @CRLF)