In latest UEFI2.6 spec, the type of the fourth parameter in function 
GetImageInfo() is "EFI_IMAGE_OUTPUT", but in the header file, it is 
"EFI_IMAGE_INPUT". Now correct it to follow the spec.

Cc: Liming Gao <[email protected]>
Cc: Eric Dong <[email protected]>
Cc: Cecil Sheng <[email protected]>
Cc: Abner Chang <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <[email protected]>
---
 MdePkg/Include/Protocol/HiiImageEx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdePkg/Include/Protocol/HiiImageEx.h 
b/MdePkg/Include/Protocol/HiiImageEx.h
index 9905ecd..b92fc3a 100644
--- a/MdePkg/Include/Protocol/HiiImageEx.h
+++ b/MdePkg/Include/Protocol/HiiImageEx.h
@@ -223,11 +223,11 @@ typedef
 EFI_STATUS
 (EFIAPI *EFI_HII_GET_IMAGE_INFO)(
   IN CONST  EFI_HII_IMAGE_EX_PROTOCOL       *This,
   IN        EFI_HII_HANDLE                  PackageList,
   IN        EFI_IMAGE_ID                    ImageId,
-  OUT       EFI_IMAGE_INPUT                 *Image
+  OUT       EFI_IMAGE_OUTPUT                *Image
   );
 
 ///
 /// Protocol which allows access to the images in the images database.
 ///
-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to