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.
Syntax
typedef struct _COORD {
SHORT X;
SHORT Y;
} COORD, *PCOORD;
Members
X
The horizontal coordinate or column value. The units depend on the function call.
Y
The vertical coordinate or row value. The units depend on the function call.
Examples
For an example, see Scrolling a Screen Buffer's Contents.
Requirements
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | WinConTypes.h (via WinCon.h, include Windows.h) |