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

Page 300

Advertising
background image

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

SIMPLE_INPUT_INTERFACE

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;

Advertising