7.5.6
SIMPLE_TEXT_OUTPUT.SetAttribute()
Summary
Sets the background and foreground colors for the
functions.
Prototype
EFI_STATUS
(EFIAPI *EFI_TEXT_SET_ATTRIBUTE) (
IN SIMPLE_TEXT_OUTPUT_INTERFACE *This,
IN UINTN
);
Parameters
This
Attribute
Related Definitions
//*******************************************************
// Attributes
//*******************************************************
#define EFI_BLACK
#define EFI_BLUE
#define EFI_GREEN
#define EFI_CYAN
#define EFI_RED
#define EFI_MAGENTA
#define EFI_BROWN
#define EFI_LIGHTGRAY
#define EFI_BRIGHT
#define EFI_DARKGRAY
#define EFI_LIGHTBLUE
#define EFI_LIGHTGREEN
#define EFI_LIGHTCYAN
#define EFI_LIGHTRED
#define EFI_LIGHTMAGENTA
#define EFI_YELLOW
#define EFI_WHITE
Version 1.02
OutputString()
A pointer to the
SIMPLE_TEXT_OUTPUT_INTERFACE
Type
SIMPLE_TEXT_OUTPUT_INTERFACE
The attribute to set. Bits 0..3 are the foreground color, and bits 4..6 are
the background color. All other bits are undefined and must be zero.
See "Related Definitions".
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
12/12/00
Console I/O Protocol
and
ClearScreen()
Attribute
is defined in Section 7.5.
instance.
167
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?