Simple_input.readkeystroke(), Readkeystroke() – Intel Extensible Firmware Interface User Manual
Page 300

Extensible Firmware Interface Specification
10-6
12/01/02
Version 1.10
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
instance. Type
SIMPLE_INPUT_INTERFACE
is defined in Section 10.2.
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” below.
Related Definitions
//*******************************************************
// EFI_INPUT_KEY
//*******************************************************
typedef struct {
UINT16
ScanCode;
CHAR16
UnicodeChar;
} EFI_INPUT_KEY;