]>
Commit | Line | Data |
---|---|---|
7d582d6b | 1 | /** @file\r |
2 | Internal include file for the HII Library instance.\r | |
3 | \r | |
4 | Copyright (c) 2007, Intel Corporation \r | |
5 | All rights reserved. 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 __INTERNAL_HII_LIB_H__\r | |
16 | #define __INTERNAL_HII_LIB_H__\r | |
17 | \r | |
60c93673 | 18 | #include <Uefi.h>\r |
7d582d6b | 19 | \r |
e52c5a9f | 20 | #include <Protocol/HiiDatabase.h>\r |
21 | #include <Protocol/HiiString.h>\r | |
22 | #include <Protocol/DevicePath.h>\r | |
23 | \r | |
24 | #include <Guid/GlobalVariable.h>\r | |
25 | \r | |
26 | #include <Library/BaseLib.h>\r | |
27 | #include <Library/BaseMemoryLib.h>\r | |
28 | #include <Library/HiiLib.h>\r | |
29 | #include <Library/DebugLib.h>\r | |
30 | #include <Library/MemoryAllocationLib.h>\r | |
31 | #include <Library/UefiBootServicesTableLib.h>\r | |
32 | #include <Library/UefiRuntimeServicesTableLib.h>\r | |
33 | #include <Library/PcdLib.h>\r | |
34 | #include <Library/DevicePathLib.h>\r | |
35 | \r | |
36 | #define HII_LIB_DEFAULT_STRING_SIZE 0x200\r | |
37 | \r | |
38 | \r | |
54cf8780 | 39 | extern CONST EFI_HII_DATABASE_PROTOCOL *mHiiDatabaseProt;\r |
40 | extern CONST EFI_HII_STRING_PROTOCOL *mHiiStringProt;\r | |
e52c5a9f | 41 | \r |
ad1b3619 | 42 | /**\r |
43 | This function check if the Hii Handle is a valid handle registered\r | |
44 | in the HII database.\r | |
45 | \r | |
46 | @param HiiHandle The HII Handle.\r | |
47 | \r | |
48 | @retval TRUE If it is a valid HII handle.\r | |
49 | @retval FALSE If it is a invalid HII handle.\r | |
50 | **/\r | |
e52c5a9f | 51 | BOOLEAN\r |
52 | IsHiiHandleRegistered (\r | |
53 | EFI_HII_HANDLE HiiHandle\r | |
ed66e1bc | 54 | );\r |
7d582d6b | 55 | \r |
ad1b3619 | 56 | /**\r |
57 | \r | |
58 | This function locate Hii relative protocols for later usage.\r | |
59 | \r | |
60 | **/\r | |
54cf8780 | 61 | VOID\r |
62 | LocateHiiProtocols (\r | |
63 | VOID\r | |
ed66e1bc | 64 | );\r |
54cf8780 | 65 | \r |
7d582d6b | 66 | #endif\r |