POINTSTOPOINT

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


POINTSTOPOINT( 
  POINT pt,
  POINTS pts
);

pt

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

pts

Specifies the POINTS structure to copy.

The POINTSTOPOINT macro is defined as follows.

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

Headerwinuser.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: