Returns a value as a $tagPOINTS structure
#include <WinAPIConv.au3>
_WinAPI_PointsFromValue ( $iValue )
| $iValue | integer value to be stored in the $tagPOINTS structure |
This function is used to convert data as lParam in a $TagPOINTS structure.
#include <WinAPIConv.au3>
Local $lParam = 0x0000FFFF ;-e.g. returned by WM_ messages
Local $tPoints = _WinAPI_PointsFromValue($lParam)
ConsoleWrite(StringFormat("MakePoints: %d, %d\r\n", $tPoints.X, $tPoints.Y))
ConsoleWrite(StringFormat("Lo/Hi Word: %d, %d\r\n", _WinAPI_LoWord($lParam), _WinAPI_HiWord($lParam)))