TianoCore EDK2 master
Loading...
Searching...
No Matches
FileHandleInternal.h File Reference

Go to the source code of this file.

Functions

VOID MoveCursorBackward (IN UINTN LineLength, IN OUT UINTN *Column, IN OUT UINTN *Row)
 
VOID MoveCursorForward (IN UINTN LineLength, IN UINTN TotalRow, IN OUT UINTN *Column, IN OUT UINTN *Row)
 
VOID PrintCommandHistory (IN CONST UINTN TotalCols, IN CONST UINTN TotalRows, IN CONST UINTN StartColumn)
 

Detailed Description

internal worker functions for FileHandleWrappers to use

Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file FileHandleInternal.h.

Function Documentation

◆ MoveCursorBackward()

VOID MoveCursorBackward ( IN UINTN  LineLength,
IN OUT UINTN Column,
IN OUT UINTN Row 
)

Move the cursor position one character backward.

Parameters
[in]LineLengthLength of a line. Get it by calling QueryMode
[in,out]ColumnCurrent column of the cursor position
[in,out]RowCurrent row of the cursor position

Definition at line 1422 of file FileHandleWrappers.c.

◆ MoveCursorForward()

VOID MoveCursorForward ( IN UINTN  LineLength,
IN UINTN  TotalRow,
IN OUT UINTN Column,
IN OUT UINTN Row 
)

Move the cursor position one character forward.

Parameters
[in]LineLengthLength of a line.
[in]TotalRowTotal row of a screen
[in,out]ColumnCurrent column of the cursor position
[in,out]RowCurrent row of the cursor position

Definition at line 1453 of file FileHandleWrappers.c.

◆ PrintCommandHistory()

VOID PrintCommandHistory ( IN CONST UINTN  TotalCols,
IN CONST UINTN  TotalRows,
IN CONST UINTN  StartColumn 
)

Prints out each previously typed command in the command list history log.

When each screen is full it will pause for a key before continuing.

Parameters
[in]TotalColsHow many columns are on the screen
[in]TotalRowsHow many rows are on the screen
[in]StartColumnwhich column to start at

Definition at line 1484 of file FileHandleWrappers.c.