#include <Protocol/HiiDatabase.h>\r
#include <Protocol/HiiString.h>\r
#include <Protocol/DevicePath.h>\r
+#include <Protocol/FormBrowser2.h>\r
\r
#include <Guid/GlobalVariable.h>\r
\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/DevicePathLib.h>\r
+#include <Library/UefiHiiServicesLib.h>\r
#include <Library/UefiLib.h>\r
+#include <Library/PrintLib.h>\r
#include <Library/PcdLib.h>\r
#include <Library/UefiRuntimeServicesTableLib.h>\r
\r
#define HII_LIB_DEFAULT_STRING_SIZE 0x200\r
\r
+///\r
+/// The size of a 3 character ISO639 language code.\r
+///\r
+#define ISO_639_2_ENTRY_SIZE 3\r
\r
extern CONST EFI_HII_DATABASE_PROTOCOL *mHiiDatabaseProt;\r
extern CONST EFI_HII_STRING_PROTOCOL *mHiiStringProt;\r
\r
/**\r
- This function check if the Hii Handle is a valid handle registered\r
- in the HII database.\r
+ Extract Hii package list GUID for given HII handle.\r
\r
- @param HiiHandle The HII Handle.\r
+ If HiiHandle could not be found in the HII database, then ASSERT.\r
+ If Guid is NULL, then ASSERT.\r
+\r
+ @param Handle Hii handle\r
+ @param Guid Package list GUID\r
+\r
+ @retval EFI_SUCCESS Successfully extract GUID from Hii database.\r
\r
- @retval TRUE If it is a valid HII handle.\r
- @retval FALSE If it is a invalid HII handle.\r
**/\r
-BOOLEAN\r
-IsHiiHandleRegistered (\r
- EFI_HII_HANDLE HiiHandle\r
- );\r
+EFI_STATUS\r
+EFIAPI\r
+InternalHiiExtractGuidFromHiiHandle (\r
+ IN EFI_HII_HANDLE Handle,\r
+ OUT EFI_GUID *Guid\r
+ )\r
+;\r
\r
#endif\r