]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/HiiLib.h
add a error macro to prevent this file from included for now #error "UEFI 2.1 HII...
[mirror_edk2.git] / MdePkg / Include / Library / HiiLib.h
index 51fde1460d77dcc6a49aab027f1e6443a853cfe5..c32ad6d64d2dfafa9b84d2bb4ee2bf9ef6b58393 100644 (file)
   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:  HiiLib.h\r
-\r
 **/\r
 \r
 #ifndef __HII_LIB_H__\r
 #define __HII_LIB_H__\r
 \r
+#error "UEFI 2.1 HII is not fully implemented for now, Please don't include this file now."\r
+\r
+#include <Protocol/HiiDatabase.h>\r
+\r
 /**\r
   This function allocates pool for an EFI_HII_PACKAGES structure\r
   with enough space for the variable argument list of package pointers.\r
   The allocated and initialized packages.\r
 \r
 **/\r
-EFI_HII_PACKAGES *\r
+EFI_HII_PACKAGE_LIST_HEADER *\r
 EFIAPI\r
 PreparePackages (\r
-  IN UINTN           NumberOfPackages,\r
-  IN CONST EFI_GUID  *Guid OPTIONAL,\r
+  IN CONST  UINTN     NumberOfPackages,\r
+  IN CONST  EFI_GUID  *Guid OPTIONAL,\r
   ...\r
-  )\r
-;\r
-\r
-\r
+  );\r
 \r
 #endif\r