Extensible Firmware Interface Specification
158 12/12/00 Version 1.02
SetAttribute Sets the foreground and background color of the text that is output. See
Section 7.5.6.
ClearScreen Clears the screen with the currently set background color. See
Section 7.5.7.
SetCursorPosition Sets the current cursor position. See Section 7.5.8.
EnableCursor Turns the visibility of the cursor on/off. See Section 7.5.9.
Mode Pointer to SIMPLE_TEXT_OUTPUT_MODE data. Type
SIMPLE_TEXT_OUTPUT_MODE is defined in Related Definitions.
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 cursors column.
CursorRow The cursors 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;