Simple_text_output.outputstring() – Intel Extensible Firmware Interface User Manual

Page 306

Advertising
background image

Extensible Firmware Interface Specification

10-12

12/01/02

Version 1.10

SIMPLE_TEXT_OUTPUT.OutputString()

Summary

Writes a Unicode string to the output device.

Prototype

EFI_STATUS

(EFIAPI *EFI_TEXT_STRING) (

IN

SIMPLE_TEXT_OUTPUT_INTERFACE

*This,

IN

CHAR16

*String

);

Parameters

This

A pointer to the

SIMPLE_TEXT_OUTPUT_INTERFACE

instance. Type

SIMPLE_TEXT_OUTPUT_INTERFACE

is

defined in the “Related Definitions” section of Section 10.3.

String

The Null-terminated Unicode string to be displayed on the
output device(s). All output devices must also support the
Unicode drawing characters defined in “Related Definitions.”

Related Definitions

//*******************************************************
// UNICODE DRAWING CHARACTERS
//*******************************************************

#define BOXDRAW_HORIZONTAL 0x2500

#define BOXDRAW_VERTICAL 0x2502

#define BOXDRAW_DOWN_RIGHT 0x250c

#define BOXDRAW_DOWN_LEFT 0x2510

#define BOXDRAW_UP_RIGHT 0x2514

#define BOXDRAW_UP_LEFT 0x2518

#define BOXDRAW_VERTICAL_RIGHT 0x251c

#define BOXDRAW_VERTICAL_LEFT 0x2524

#define BOXDRAW_DOWN_HORIZONTAL 0x252c

#define BOXDRAW_UP_HORIZONTAL 0x2534

#define BOXDRAW_VERTICAL_HORIZONTAL 0x253c

Advertising