From 33b3b83219656ec3f9a022714be62517e51ba90b Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 14 Apr 2008 06:26:44 +0000 Subject: 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 806be1f..38e1e50 100644 --- a/MdePkg/Include/Library/HiiLib.h +++ b/MdePkg/Include/Library/HiiLib.h @@ -354,11 +354,11 @@ HiiLibGetNextLanguage ( 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. @param HiiHandle The HII package list handle. - @return The supported languages. + @retval !NULL The supported languages. + @retval NULL If Supported Languages can not be retrived. **/ CHAR8 * @@ -369,6 +369,27 @@ HiiLibGetSupportedLanguages ( ; /** + 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. + + @param HiiHandle The HII package list handle. + + @return The supported languages. + +**/ +CHAR8 * +EFIAPI +HiiLibGetSupportedSecondaryLanguages ( + IN EFI_HII_HANDLE HiiHandle, + IN CONST CHAR8 *FirstLanguage + ) +; + + +/** This function returns the number of supported languages on HiiHandle. If HiiHandle is not a valid Handle in the default HII database, then ASSERT. -- cgit v1.1