POINTTOPOINTS  2S4W9L 

The POINTTOPOINTS macro converts a POINT44VP0_ structure to a POINTS24H.4H structure.

POINTS POINTTOPOINTS(

    POINT pt

// coordinates of a point

   );

 

 

Parameters

pt

Specifies the POINT44VP0_ structure to convert.

 

Return Values

The return value is a POINTS24H.4H structure.

Remarks

The POINTTOPOINTS macro is defined as follows:

#define POINTTOPOINTS(pt) \

    (MAKELONG((short) ((pt).x), (short) ((pt).y)))

 

See Also

MAKEPOINTS, POINTSTOPOINT