Edit

Share via


POINTTOPOINTS macro (winuser.h)

The POINTTOPOINTS macro converts a POINT structure to a POINTS structure.

Syntax

POINTS POINTTOPOINTS(
    POINT pt
);

Parameters

pt

The POINT structure to convert.

Return value

Type: POINTS

The return value is a POINTS structure.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)

See also

MAKEPOINTS

POINT

POINTS

Rectangle Macros

Rectangles Overview