Platform SDK: Files and I/O

COORD

The COORD structure defines the coordinates of a character cell in a console screen buffer. The origin of the coordinate system (0,0) is at the top, left cell of the buffer.

typedef struct _COORD { 
  SHORT X; 
  SHORT Y; 
} COORD; 

Members

X
Horizontal coordinate or column value.
Y
Vertical coordinate or row value.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Wincon.h; include Windows.h.

See Also

Consoles and Character-Mode Support Overview, Console Structures