POINTSTOPOINT (Windows CE 5.0)

Send Feedback

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

POINTSTOPOINT( POINTpt,POINTSpts);

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);} 

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

POINT | POINTS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.