]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Application/Shell/FileHandleInternal.h
StdLib: Fix parameter type errors.
[mirror_edk2.git] / ShellPkg / Application / Shell / FileHandleInternal.h
CommitLineData
d42aab6e
HT
1/** @file\r
2 internal worker functions for FileHandleWrappers to use\r
3\r
4 Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _FILE_HANDLE_INTERNAL_HEADER_\r
16#define _FILE_HANDLE_INTERNAL_HEADER_\r
17\r
18/**\r
19 Move the cursor position one character backward.\r
20\r
21 @param[in] LineLength Length of a line. Get it by calling QueryMode\r
22 @param[in, out] Column Current column of the cursor position\r
23 @param[in, out] Row Current row of the cursor position\r
24**/\r
25VOID\r
26EFIAPI\r
27MoveCursorBackward (\r
28 IN UINTN LineLength,\r
29 IN OUT UINTN *Column,\r
30 IN OUT UINTN *Row\r
31 );\r
32\r
33/**\r
34 Move the cursor position one character forward.\r
35\r
36 @param[in] LineLength Length of a line.\r
37 @param[in] TotalRow Total row of a screen\r
38 @param[in, out] Column Current column of the cursor position\r
39 @param[in, out] Row Current row of the cursor position\r
40**/\r
41VOID\r
42EFIAPI\r
43MoveCursorForward (\r
44 IN UINTN LineLength,\r
45 IN UINTN TotalRow,\r
46 IN OUT UINTN *Column,\r
47 IN OUT UINTN *Row\r
48 );\r
49\r
50/**\r
51 Prints out each previously typed command in the command list history log.\r
52\r
53 When each screen is full it will pause for a key before continuing.\r
54\r
55 @param[in] TotalCols How many columns are on the screen\r
56 @param[in] TotalRows How many rows are on the screen\r
57 @param[in] StartColumn which column to start at\r
58**/\r
59VOID\r
60EFIAPI\r
61PrintCommandHistory (\r
62 IN CONST UINTN TotalCols,\r
63 IN CONST UINTN TotalRows,\r
64 IN CONST UINTN StartColumn\r
65 );\r
66\r
67#endif //_FILE_HANDLE_INTERNAL_HEADER_\r
68\r