The POINTSTOPOINT macro copies the contents of a POINTS structure into a POINT structure.
POINTSTOPOINT(
POINT pt, // POINT structure
POINTS pts // POINTS structure
);
The POINTSTOPOINT macro is defined as follows:
#define POINTSTOPOINT(pt, pts) {(pt).x = (SHORT) LOWORD(pts); \
(pt).y = (SHORT) HIWORD(pts);}
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winuser.h.
Rectangles Overview, Rectangle Macros, MAKEPOINTS, POINTTOPOINTS