MAKEPOINTS macro

The MAKEPOINTS macro converts a value that contains the x- and y-coordinates of a point into a POINTS structure.

Syntax

void MAKEPOINTS(
   l
);

Parameters

l

The coordinates of a point. The x-coordinate is in the low-order word, and the y-coordinate is in the high-order word.

Return Value

None

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wingdi.h (include Windows.h)

See Also

GetMessagePos

Rectangle Macros

Rectangles Overview