/* Allow caller to read a specific SMBIOS string */
CHAR8* EFIAPI SmbiosLibReadString(IN SMBIOS_STRUCTURE *Header, IN EFI_SMBIOS_STRING StringNumber)
/* Allow caller to read a specific SMBIOS string */
CHAR8* EFIAPI SmbiosLibReadString(IN SMBIOS_STRUCTURE *Header, IN EFI_SMBIOS_STRING StringNumber)
{
  CHAR8  *Data;
  UINTN  Match;
  Data = (CHAR8 *)Header + Header->Length;
  for (Match = 1; !(*Data == 0 && *(Data+1) == 0); ) {
    if (StringNumber == Match) {
      return Data;
    }
    Data++;
    if (*(Data - 1) == '\0') {
      Match++;
    }
  }
  return NULL;
}