Intel Extensible Firmware Interface User Manual
Page 303
Protocols
— Console Support
Version 1.10
12/01/02
10-9
SetMode
Sets the current mode of the output device. See
SetAttribute
Sets the foreground and background color of the text that is output. See
ClearScreen
Clears the screen with the currently set background color. See
SetCursorPosition
Sets the current cursor position. See
EnableCursor
Turns the visibility of the cursor on/off. See
Mode
Pointer
data. Type
SIMPLE_TEXT_OUTPUT_MODE
is defined in “Related Definitions”
below.
The following data values in the
SIMPLE_TEXT_OUTPUT_MODE
interface are read-only and are
changed by using the appropriate interface functions:
MaxMode
The number of modes supported by
QueryMode()
and
SetMode()
.
Mode
The text mode of the output device(s).
Attribute
The current character output attribute.
CursorColumn
The
cursor’s column.
CursorRow
The
cursor’s row.
CursorVisible
The cursor is currently visible or not.
Related Definitions
//*******************************************************
// SIMPLE_TEXT_OUTPUT_MODE
//*******************************************************
typedef struct {
INT32 MaxMode;
// current settings
INT32 Mode;
INT32 Attribute;
INT32 CursorColumn;
INT32 CursorRow;
BOOLEAN CursorVisible;
} SIMPLE_TEXT_OUTPUT_MODE;