+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2004, 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
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
- \r
- FormBrowser.h\r
-\r
-Abstract:\r
-\r
- The EFI_FORM_BROWSER_PROTOCOL is the interface to the EFI \r
- Configuration Driver. This will allow the caller to direct the \r
- configuration driver to use either the HII database or use the passed \r
- in packet of data. This will also allow the caller to post messages \r
- into the configuration drivers internal mailbox.\r
-\r
---*/\r
-\r
-#ifndef _FORM_BROWSER_H_\r
-#define _FORM_BROWSER_H_\r
-\r
-#include EFI_PROTOCOL_DEFINITION (Hii)\r
-\r
-//\r
-// EFI_FORM_BROWSER_PROTOCOL_GUID has been changed from the one defined in Framework HII 0.92 as the\r
-// Setup Browser protocol produced by HII Thunk Layer support the UEFI IFR and UEF String Package format.\r
-//\r
-#define EFI_FORM_BROWSER_PROTOCOL_GUID \\r
- { \\r
- 0xfb7c852, 0xadca, 0x4853, {0x8d, 0xf, 0xfb, 0xa7, 0x1b, 0x1c, 0xe1, 0x1a} \\r
- }\r
-\r
-/*\r
-#define EFI_FORM_BROWSER_PROTOCOL_GUID \\r
- { \\r
- 0xe5a1333e, 0xe1b4, 0x4d55, {0xce, 0xeb, 0x35, 0xc3, 0xef, 0x13, 0x34, 0x43} \\r
- }\r
-*/\r
-\r
-//\r
-// Forward reference for pure ANSI compatability\r
-//\r
-typedef struct _EFI_FORM_BROWSER_PROTOCOL EFI_FORM_BROWSER_PROTOCOL;\r
-\r
-typedef struct {\r
- UINT32 Length;\r
- UINT16 Type;\r
- UINT8 Data[1];\r
-} EFI_HII_PACKET;\r
-\r
-typedef struct {\r
- EFI_HII_IFR_PACK *IfrData;\r
- EFI_HII_STRING_PACK *StringData;\r
-} EFI_IFR_PACKET;\r
-\r
-typedef struct {\r
- UINTN LeftColumn;\r
- UINTN RightColumn;\r
- UINTN TopRow;\r
- UINTN BottomRow;\r
-} SCREEN_DESCRIPTOR;\r
-\r
-//\r
-// The following types are currently defined:\r
-//\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SEND_FORM) (\r
- IN EFI_FORM_BROWSER_PROTOCOL * This,\r
- IN BOOLEAN UseDatabase,\r
- IN EFI_HII_HANDLE * Handle,\r
- IN UINTN HandleCount,\r
- IN EFI_IFR_PACKET * Packet,\r
- IN EFI_HANDLE CallbackHandle,\r
- IN UINT8 *NvMapOverride,\r
- IN SCREEN_DESCRIPTOR * ScreenDimensions,\r
- OUT BOOLEAN *ResetRequired OPTIONAL\r
- );\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_CREATE_POP_UP) (\r
- IN UINTN NumberOfLines,\r
- IN BOOLEAN HotKey,\r
- IN UINTN MaximumStringSize,\r
- OUT CHAR16 *StringBuffer,\r
- OUT EFI_INPUT_KEY * KeyValue,\r
- IN CHAR16 *String,\r
- ...\r
- );\r
-\r
-struct _EFI_FORM_BROWSER_PROTOCOL {\r
- EFI_SEND_FORM SendForm;\r
- EFI_CREATE_POP_UP CreatePopUp;\r
-};\r
-\r
-extern EFI_GUID gEfiFormBrowserProtocolGuid;\r
-\r
-#endif\r