MAKEPOINTS macro (wingdi.h)

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

Requirement Value
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