]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Efi / Protocol / HiiDatabase / HiiDatabase.h
index 8cb526613eebb688fd757046ff88ca1e19fc60ff..b319aae973d13795fea8346485bd82be272ae310 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2010, 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
@@ -138,8 +138,7 @@ EFI_STATUS
   Returns:\r
     EFI_SUCCESS            - The data associated with the Handle was removed from \r
                              the HII database.\r
-    EFI_NOT_FOUND          - The specified PackageList could not be found in database.\r
-    EFI_INVALID_PARAMETER  - The Handle was not valid.\r
+    EFI_NOT_FOUND          - The specified Handle is not in database.\r
      \r
 --*/\r
 ;\r
@@ -166,8 +165,8 @@ EFI_STATUS
   Returns:\r
     EFI_SUCCESS            - The HII database was successfully updated.\r
     EFI_OUT_OF_RESOURCES   - Unable to allocate enough memory for the updated database.\r
-    EFI_INVALID_PARAMETER  - Handle or PackageList was NULL.\r
-    EFI_NOT_FOUND          - The Handle was not valid or could not be found in database.\r
+    EFI_INVALID_PARAMETER  - PackageList was NULL.\r
+    EFI_NOT_FOUND          - The specified Handle is not in database.\r
      \r
 --*/\r
 ;\r
@@ -203,12 +202,16 @@ EFI_STATUS
         \r
   Returns:\r
     EFI_SUCCESS            - The matching handles are outputed successfully.\r
+                             HandleBufferLength is updated with the actual length.\r
     EFI_BUFFER_TO_SMALL    - The HandleBufferLength parameter indicates that\r
                              Handle is too small to support the number of handles.\r
                              HandleBufferLength is updated with a value that will \r
                              enable the data to fit.\r
     EFI_NOT_FOUND          - No matching handle could not be found in database.\r
     EFI_INVALID_PARAMETER  - Handle or HandleBufferLength was NULL.\r
+    EFI_INVALID_PARAMETER  - PackageType is not a EFI_HII_PACKAGE_TYPE_GUID but\r
+                             PackageGuid is not NULL, PackageType is a EFI_HII_\r
+                             PACKAGE_TYPE_GUID but PackageGuid is NULL.\r
      \r
 --*/  \r
 ;\r
@@ -312,7 +315,8 @@ EFI_STATUS
                          \r
   Returns:\r
     EFI_SUCCESS            - Notification is unregistered successfully.    \r
-    EFI_INVALID_PARAMETER  - The Handle is invalid.\r
+    EFI_NOT_FOUND          - The incoming notification handle does not exist \r
+                             in current hii database.\r
      \r
 --*/  \r
 ;  \r