From 33b3b83219656ec3f9a022714be62517e51ba90b Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 14 Apr 2008 06:26:44 +0000 Subject: [PATCH] add in a new API HiiLibGetSupportedSecondaryLanguages git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5062 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/HiiLib.h | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) 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.