![Intel Extensible Firmware Interface Скачать руководство пользователя страница 174](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117174.webp)
Extensible Firmware Interface Specification
156
12/12/00
Version 1.02
7.3.2 SIMPLE_INPUT.ReadKeyStroke
Summary
Reads the next keystroke from the input device.
Prototype
EFI_STATUS
(EFIAPI *EFI_INPUT_READ_KEY) (
IN SIMPLE_INPUT_INTERFACE
*This
,
OUT EFI_INPUT_KEY
*Key
);
Parameters
This
A pointer to the
SIMPLE_INPUT_INTERFACE
instance. Type
SIMPLE_INPUT_INTERFACE
is defined in Section 7.3.
Key
A pointer to a buffer that is filled in with the keystroke
information for the key that was pressed. Type
EFI_INPUT_KEY
is defined in “Related Definitions”.
Related Definitions
//*******************************************************
// EFI_INPUT_KEY
//*******************************************************
typedef struct {
UINT16
ScanCode
;
CHAR16
UnicodeChar
;
} EFI_INPUT_KEY;
Description
The
ReadKeyStroke()
function reads the next keystroke from the input device. If there is no
pending keystroke the function returns
EFI_NOT_READY
. If there is a pending keystroke, then
ScanCode
is the EFI scan code defined in Table 7-2. The
UnicodeChar
is the actual printable
character or is zero if the key does not represent a printable character (control key, function
key, etc.).
Status Codes Returned
EFI_SUCCESS
The keystroke information was returned.
EFI_NOT_READY
There was no keystroke data available.
EFI_DEVICE_ERROR
The keystroke information was not returned due to hardware errors.
Содержание 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...