POINTSTOPOINT

This macro copies the contents of a POINTS structure into a POINT structure.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

POINTSTOPOINT( POINT pt, POINTS pts );

Parameters

pt

Specifies the POINT structure to receive the contents of the POINTS structure.

pts

Specifies the POINTS structure to copy.

Remarks

The POINTSTOPOINT macro is defined as follows:

#define POINTSTOPOINT(pt, pts) {(pt).x = (SHORT) LOWORD(pts); \ 
                               (pt).y = (SHORT) HIWORD(pts);} 
 

See Also

POINT, POINTS