Console I/O Protocol
Version 1.02 12/12/00 157
7.4 ConsoleOut or StandardError
The SIMPLE_TEXT_OUTPUT protocol must implement the same Unicode code pages as the
SIMPLE_INPUT protocol. The protocol must also support the Unicode control characters
defined in Table 7-1. The SIMPLE_TEXT_OUTPUT protocol supports special manipulation of the
screen by programmatic methods and therefore does not support the EFI scan codes defined in
Table 7-2.
7.5 SIMPLE_TEXT_OUTPUT Protocol
Summary
This protocol is used to control text-based output devices.
GUID
#define SIMPLE_TEXT_OUTPUT_PROTOCOL \
{ 387477c2-69c7-11d2-8e39-00a0c969723b }
Protocol Interface Structure
typedef struct _SIMPLE_TEXT_OUTPUT_INTERFACE {
EFI_TEXT_RESET Reset;
EFI_TEXT_STRING OutputString;
EFI_TEXT_TEST_STRING TestString;
EFI_TEXT_QUERY_MODE QueryMode;
EFI_TEXT_SET_MODE SetMode;
EFI_TEXT_SET_ATTRIBUTE SetAttribute;
EFI_TEXT_CLEAR_SCREEN ClearScreen;
EFI_TEXT_SET_CURSOR_POSITION SetCursorPosition;
EFI_TEXT_ENABLE_CURSOR EnableCursor;
SIMPLE_TEXT_OUTPUT_MODE *Mode;
} SIMPLE_TEXT_OUTPUT_INTERFACE;
Parameters
Reset Reset the ConsoleOut device. See Section 7.5.1.
OutputString Displays the Unicode string on the device at the current cursor location.
See Section 7.5.2.
TestString Tests to see if the ConsoleOut device supports this Unicode string.
See Section 7.5.3.
QueryMode Queries information concerning the output devices supported text mode.
See Section 7.5.4.
SetMode Sets the current mode of the output device. See Section 7.5.5.