ToUShort()

Auto Hotkey

ToUShort

Convert an integer to unsigned short type.

OutputVar := ToUShort(ByRef IntOrVar)
Command  Example: ToUShort var
Function Example: ushort := ToUShort(-1)

Parameters

OutputVar

The name of the variable in which to store the converted integer.

ByRef IntOrVar

The value to convert, if a variable is passed, converted value will be written to it.

Related

DllCall, DynaCall, #DllImport, WinApi