Extensible Firmware Interface Specification
170 12/12/00 Version 1.02
7.5.8 SIMPLE_TEXT_OUTPUT.SetCursorPosition()
Summary
Sets the current coordinates of the cursor position.
Prototype
EFI_STATUS
(EFIAPI *EFI_TEXT_SET_CURSOR_POSITION) (
IN SIMPLE_TEXT_OUTPUT_INTERFACE *This,
IN UINTN Column,
IN UINTN Row
);
Parameters
This A pointer to the SIMPLE_TEXT_OUTPUT_INTERFACE instance.
Type SIMPLE_TEXT_OUTPUT_INTERFACE is defined in Section 7.5.
Column, Row The position to set the cursor to. Must greater than or equal to zero and
less than the number of columns and rows returned by QueryMode().
Description
The SetCursorPosition() function sets the current coordinates of the cursor position. The
upper left corner of the screen is defined as coordinate (0, 0).
Status Codes Returned
EFI_SUCCESS The operation completed successfully.
EFI_DEVICE_ERROR The device had an error and could not complete the request.
EFI_UNSUPPORTED The output device is not in a valid text mode, or the cursor
position is invalid for the current mode.