7.5.4
SIMPLE_TEXT_OUTPUT.QueryMode()
Summary
Returns information for an available text mode that the output device(s) supports.
Prototype
EFI_STATUS
(EFIAPI *EFI_TEXT_QUERY_MODE) (
IN SIMPLE_TEXT_OUTPUT_INTERFACE *This,
IN UINTN
OUT UINTN
OUT UINTN
);
Parameters
This
ModeNumber
Columns, Rows
Description
The
QueryMode()
device(s) supports.
It is required that all output devices support at least 80x25 text mode. This mode is defined to be
mode 0. If the output devices support 80x50, that is defined to be mode 1. Any other text
dimensions supported by the device may then follow as mode 2 and above. (For example, it is a
prerequisite that 80x25 and 80x50 text modes be supported before any other modes are.)
Status Codes Returned
EFI_SUCCESS
EFI_DEVICE_ERROR
EFI_UNSUPPORTED
Version 1.02
A pointer to the
SIMPLE_TEXT_OUTPUT_INTERFACE
Type
SIMPLE_TEXT_OUTPUT_INTERFACE
The mode number to return information on.
Returns the geometry of the text output device for the request
ModeNumber.
function returns information for an available text mode that the output
The requested mode information was returned.
The device had an error and could not complete the request.
The mode number was not valid.
ModeNumber,
*Columns,
*Rows
12/12/00
Console I/O Protocol
instance.
is defined in Section 7.5.
165
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?