/* If PackageListGuid is NULL, then ASSERT(). If StringId is 0, then ASSERT. */
EFI_STRING EFIAPI HiiGetPackageString(IN CONST EFI_GUID *PackageListGuid, IN EFI_STRING_ID StringId, IN CONST CHAR8 *Language OPTIONAL)
/* If PackageListGuid is NULL, then ASSERT(). If StringId is 0, then ASSERT. */
EFI_STRING EFIAPI HiiGetPackageString(IN CONST EFI_GUID *PackageListGuid, IN EFI_STRING_ID StringId, IN CONST CHAR8 *Language OPTIONAL)
{
  EFI_HII_HANDLE  *HiiHandleBuffer;
  EFI_HII_HANDLE  HiiHandle;
  ASSERT (PackageListGuid != NULL);
  HiiHandleBuffer = HiiGetHiiHandles (PackageListGuid);
  if (HiiHandleBuffer == NULL) {
    return NULL;
  }
  HiiHandle = HiiHandleBuffer[0];
  FreePool (HiiHandleBuffer);
  return HiiGetString (HiiHandle, StringId, Language);
}