Function Reference


_WinAPI_ShortToWord

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

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

Parameters

$iValue The value to be converted.

Return Value

Returns the converted (WORD) value.

Example

#include <WinAPIConv.au3>

Local $iValue = -1

ConsoleWrite(_WinAPI_ShortToWord($iValue) & @CRLF)