]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/UefiHiiLib/InternalHiiLib.h
HII Library Class interface refine.
[mirror_edk2.git] / MdeModulePkg / Library / UefiHiiLib / InternalHiiLib.h
CommitLineData
08e4b3cf 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
18#include <Uefi.h>\r
19\r
20#include <Protocol/HiiDatabase.h>\r
21#include <Protocol/HiiString.h>\r
22#include <Protocol/DevicePath.h>\r
7e3bcccb 23#include <Protocol/FormBrowser2.h>\r
08e4b3cf 24\r
11e92503 25#include <Guid/GlobalVariable.h>\r
26\r
08e4b3cf 27#include <Library/BaseLib.h>\r
28#include <Library/BaseMemoryLib.h>\r
29#include <Library/HiiLib.h>\r
30#include <Library/DebugLib.h>\r
31#include <Library/MemoryAllocationLib.h>\r
32#include <Library/UefiBootServicesTableLib.h>\r
33#include <Library/DevicePathLib.h>\r
7e3bcccb 34#include <Library/UefiHiiServicesLib.h>\r
08e4b3cf 35#include <Library/UefiLib.h>\r
7e3bcccb 36#include <Library/PrintLib.h>\r
11e92503 37#include <Library/PcdLib.h>\r
38#include <Library/UefiRuntimeServicesTableLib.h>\r
08e4b3cf 39\r
40#define HII_LIB_DEFAULT_STRING_SIZE 0x200\r
41\r
a27b11cf 42///\r
43/// The size of a 3 character ISO639 language code.\r
44///\r
45#define ISO_639_2_ENTRY_SIZE 3\r
08e4b3cf 46\r
47extern CONST EFI_HII_DATABASE_PROTOCOL *mHiiDatabaseProt;\r
48extern CONST EFI_HII_STRING_PROTOCOL *mHiiStringProt;\r
49\r
50/**\r
cb7d01c0 51 Extract Hii package list GUID for given HII handle.\r
08e4b3cf 52\r
cb7d01c0 53 If HiiHandle could not be found in the HII database, then ASSERT.\r
54 If Guid is NULL, then ASSERT.\r
55\r
56 @param Handle Hii handle\r
57 @param Guid Package list GUID\r
58\r
59 @retval EFI_SUCCESS Successfully extract GUID from Hii database.\r
08e4b3cf 60\r
08e4b3cf 61**/\r
cb7d01c0 62EFI_STATUS\r
63EFIAPI\r
64InternalHiiExtractGuidFromHiiHandle (\r
65 IN EFI_HII_HANDLE Handle,\r
66 OUT EFI_GUID *Guid\r
67 )\r
68;\r
08e4b3cf 69\r
70#endif\r