winuser.h
POINTSTOPOINT
La macro POINTSTOPOINT copia el contenido de una estructura POINTS a una estructura POINT.
Definición
POINTSTOPOINT(
POINT pt, // estructura POINT
POINTS pts // estructura POINTS
);
Parámetros
pt: especifica la estructura POINT que recibe el contenido de la estructura POINTS.
pts: especifica la estructura POINTS a copiar.
Observaciones:
La macro POINTSTOPOINT se define como:
#define POINTSTOPOINT(pt, pts) {(pt).x = (SHORT) LOWORD(pts); \
(pt).y = (SHORT) HIWORD(pts);}