Update HiiString Protocol and HiiSetString Api in HiiLib
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Feb 2010 07:12:35 +0000 (07:12 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Feb 2010 07:12:35 +0000 (07:12 +0000)
commit1d3476fdec9d549afbc07aa647e6423dd438c2c6
tree34a2981a6b40da4918252581a26290a0f36549e6
parent5ced85e8fb6770e5d6cef78068e4814f4f538d18
Update HiiString Protocol and HiiSetString Api in HiiLib
1. Reserve the unique string identifier for all languages in the package list.
2. Track MaxStringId to do the simple check for the requested StringId > MaxStringId, which can improve performance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk@9954 6f19259b-4bc3-4df7-8a09-765794883524
edk2/MdeModulePkg/Library/UefiHiiLib/HiiString.c
edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
edk2/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
edk2/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
edk2/MdePkg/Include/Protocol/HiiString.h