MAKEPOINTS
Collapse the table of content
Expand the table of content

MAKEPOINTS macro

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

Syntax


POINTS MAKEPOINTS(
   DWORD dwValue
);

Parameters

dwValue

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

The return value is a pointer to a POINTS structure.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

See also

Rectangles Overview
Rectangle Macros
GetMessagePos

 

 

Community Additions

ADD
Show:
© 2016 Microsoft