2 out of 6 rated this helpful - Rate this topic

MAKEPOINTS macro

Applies to: desktop apps only

The MAKEPOINTS macro converts a value that contains the x- and y-coordinates of a point into a POINTS structure.

Syntax

POINTS MAKEPOINTS(
  DWORD dwValue
);

Parameters

dwValue

The coordinates of a point. The x-coordinate is in the low-order word, and the y-coordinate is in the high-order word.

Return value

The return value is a pointer to a POINTS structure.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wingdi.h (include Windows.h)

See also

Rectangles Overview
Rectangle Macros
GetMessagePos

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ