Applies to: desktop apps only
Specifies a Unicode or ANSI character and its attributes. This structure is used by console functions to read from and write to a console screen buffer.
Syntax
typedef struct _CHAR_INFO {
union {
WCHAR UnicodeChar;
CHAR AsciiChar;
} Char;
WORD Attributes;
} CHAR_INFO, *PCHAR_INFO;
Members
- Char
-
A union of the following members.
- UnicodeChar
-
Unicode character of a screen buffer character cell.
- AsciiChar
-
ANSI character of a screen buffer character cell.
- Attributes
-
The character attributes. This member can be zero or any combination of the following values.
Examples
For an example, see Scrolling a Screen Buffer's Contents.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 5/5/2012
