![Intel Extensible Firmware Interface Скачать руководство пользователя страница 185](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117185.webp)
Console I/O Protocol
Version 1.02
12/12/00
167
7.5.6 SIMPLE_TEXT_OUTPUT.SetAttribute()
Summary
Sets the background and foreground colors for the
OutputString()
and
ClearScreen()
functions.
Prototype
EFI_STATUS
(EFIAPI *EFI_TEXT_SET_ATTRIBUTE) (
IN SIMPLE_TEXT_OUTPUT_INTERFACE
*This,
IN UINTN
Attribute
);
Parameters
This
A pointer to the
SIMPLE_TEXT_OUTPUT_INTERFACE
instance.
Type
SIMPLE_TEXT_OUTPUT_INTERFACE
is defined in Section 7.5.
Attribute
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”.
Related Definitions
//*******************************************************
// Attributes
//*******************************************************
#define EFI_BLACK
0x00
#define EFI_BLUE
0x01
#define EFI_GREEN
0x02
#define EFI_CYAN
0x03
#define EFI_RED
0x04
#define EFI_MAGENTA
0x05
#define EFI_BROWN
0x06
#define EFI_LIGHTGRAY
0x07
#define EFI_BRIGHT
0x08
#define EFI_DARKGRAY
0x08
#define EFI_LIGHTBLUE
0x09
#define EFI_LIGHTGREEN
0x0A
#define EFI_LIGHTCYAN
0x0B
#define EFI_LIGHTRED
0x0C
#define EFI_LIGHTMAGENTA
0x0D
#define EFI_YELLOW
0x0E
#define EFI_WHITE
0x0F
Содержание Extensible Firmware Interface
Страница 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Страница 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Страница 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Страница 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Страница 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Страница 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Страница 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Страница 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Страница 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Страница 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Страница 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Страница 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Страница 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Страница 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Страница 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...