summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-14 06:26:44 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-14 06:26:44 +0000
commit33b3b83219656ec3f9a022714be62517e51ba90b (patch)
tree1628b6aeb18d1f1162a471e27a147d608146c75e
parenteaf539d00fbff0a116b72347338c4439bc8afb05 (diff)
downloadedk2-33b3b83219656ec3f9a022714be62517e51ba90b.zip
edk2-33b3b83219656ec3f9a022714be62517e51ba90b.tar.gz
edk2-33b3b83219656ec3f9a022714be62517e51ba90b.tar.bz2
add in a new API HiiLibGetSupportedSecondaryLanguages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5062 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Library/HiiLib.h25
1 files 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.