Share via


POINTSTOPOINT (Windows Embedded CE 6.0)

1/6/2010

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

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

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

GDI Macros
POINT
POINTS