From: Dandan Bi Date: Fri, 15 Jul 2016 07:31:36 +0000 (+0800) Subject: MdePkg/HiiImageEx: Fix incorrect parameter type in GetImageInfo() X-Git-Tag: edk2-stable201903~6072 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6e227fb5d8490df896ae6e938d16d50137471fbd MdePkg/HiiImageEx: Fix incorrect parameter type in GetImageInfo() 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 Cc: Eric Dong Cc: Cecil Sheng Cc: Abner Chang Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Reviewed-by: Liming Gao --- diff --git a/MdePkg/Include/Protocol/HiiImageEx.h b/MdePkg/Include/Protocol/HiiImageEx.h index 9905ecda7d..b92fc3a0cd 100644 --- a/MdePkg/Include/Protocol/HiiImageEx.h +++ b/MdePkg/Include/Protocol/HiiImageEx.h @@ -225,7 +225,7 @@ EFI_STATUS 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 ); ///