Platform SDK: Files and I/O

CONSOLE_CURSOR_INFO

The CONSOLE_CURSOR_INFO structure contains information about the console cursor.

typedef struct _CONSOLE_CURSOR_INFO { 
  DWORD  dwSize; 
  BOOL   bVisible; 
} CONSOLE_CURSOR_INFO, *PCONSOLE_CURSOR_INFO; 

Members

dwSize
Specifies a number between 1 and 100, indicating the percentage of the character cell that is filled by the cursor. The cursor appearance varies, ranging from completely filling the cell to showing up as a horizontal line at the bottom of the cell.
bVisible
Specifies the visibility of the cursor. If the cursor is visible, this member is TRUE.

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, GetConsoleCursorInfo, SetConsoleCursorInfo