POINTS structure (windef.h)

The POINTS structure defines the x- and y-coordinates of a point.

Syntax

typedef struct tagPOINTS {
#if ...
  SHORT x;
#if ...
  SHORT y;
#else
  SHORT y;
#endif
#else
  SHORT x;
#endif
} POINTS, *PPOINTS, *LPPOINTS;

Members

x

Specifies the x-coordinate of the point.

y

Specifies the y-coordinate of the point.

Remarks

The POINTS structure is similar to the POINT and POINTL structures. The difference is that the members of the POINTS structure are of type SHORT, while those of the other two structures are of type LONG.

Requirements

Requirement Value
Header windef.h (include Windows.h)

See also

POINT

POINTL