Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

POINTS MAKEPOINTS(
 DWORD 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

Type: POINTS

The return value is a pointer to a POINTS structure.

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


Feedback

Was this page helpful?

Additional resources