]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.h
ShellPkg/[hex]edit: use SimpleTextInEx to read console
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / EditMenuBar.h
index 8cd846f28b36cb219d7047fb0c91730a4fa06b59..a15617edf6fb4f0889edcf25e27da934f32df668 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Declares menubar interface functions.\r
 \r
-  Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -50,7 +50,6 @@ typedef struct _EDITOR_MENU_ITEM {
   @retval EFI_OUT_OF_RESOURCES  A memory allocation failed.\r
 **/\r
 EFI_STATUS\r
-EFIAPI\r
 MenuBarInit (\r
   IN CONST EDITOR_MENU_ITEM  *Items\r
   );\r
@@ -63,7 +62,6 @@ MenuBarInit (
   @retval EFI_SUCCESS           The initialization was correct.\r
 **/\r
 EFI_STATUS\r
-EFIAPI\r
 ControlHotKeyInit (\r
   IN MENU_ITEM_FUNCTION  *Items\r
   );\r
@@ -72,7 +70,6 @@ ControlHotKeyInit (
   Cleanup function for a menu bar.  frees all allocated memory.\r
 **/\r
 VOID\r
-EFIAPI\r
 MenuBarCleanup (\r
   VOID\r
   );\r
@@ -86,7 +83,6 @@ MenuBarCleanup (
   @retval EFI_SUCCESS           The refresh was successful.\r
 **/\r
 EFI_STATUS\r
-EFIAPI\r
 MenuBarRefresh (\r
   IN CONST UINTN LastRow,\r
   IN CONST UINTN LastCol\r
@@ -102,7 +98,6 @@ MenuBarRefresh (
   @return The return value from the called dispatch function.\r
 **/\r
 EFI_STATUS\r
-EFIAPI\r
 MenuBarDispatchFunctionKey (\r
   IN CONST EFI_INPUT_KEY   *Key\r
   );\r
@@ -110,16 +105,15 @@ MenuBarDispatchFunctionKey (
 /**\r
   Function to dispatch the correct function based on a control-based key (ctrl+o...)\r
 \r
-  @param[in] Key                The pressed key.\r
+  @param[in] KeyData                The pressed key.\r
 \r
   @retval EFI_NOT_FOUND         The key was not a valid control-based key \r
                                 (an error was sent to the status bar).\r
   @return EFI_SUCCESS.\r
 **/\r
 EFI_STATUS\r
-EFIAPI\r
 MenuBarDispatchControlHotKey (\r
-  IN CONST EFI_INPUT_KEY   *Key\r
+  IN CONST EFI_KEY_DATA   *KeyData\r
   );\r
 \r
 #endif\r