diff --git a/MdePkg/Include/Library/HiiLib.h b/MdePkg/Include/Library/HiiLib.h index 806be1fb65..38e1e50f7e 100644 --- a/MdePkg/Include/Library/HiiLib.h +++ b/MdePkg/Include/Library/HiiLib.h @@ -353,6 +353,25 @@ HiiLibGetNextLanguage ( This function returns the list of supported languages, in the format specified in UEFI specification Appendix M. + If HiiHandle is not a valid Handle in the default HII database, then ASSERT. + + @param HiiHandle The HII package list handle. + + @retval !NULL The supported languages. + @retval NULL If Supported Languages can not be retrived. + +**/ +CHAR8 * +EFIAPI +HiiLibGetSupportedLanguages ( + IN EFI_HII_HANDLE HiiHandle + ) +; + +/** + This function returns the list of supported 2nd languages, in the format specified + in UEFI specification Appendix M. + If HiiHandle is not a valid Handle in the default HII database, then ASSERT. If not enough resource to complete the operation, then ASSERT. @@ -363,11 +382,13 @@ HiiLibGetNextLanguage ( **/ CHAR8 * EFIAPI -HiiLibGetSupportedLanguages ( - IN EFI_HII_HANDLE HiiHandle +HiiLibGetSupportedSecondaryLanguages ( + IN EFI_HII_HANDLE HiiHandle, + IN CONST CHAR8 *FirstLanguage ) ; + /** This function returns the number of supported languages on HiiHandle.