/* Returns the total size required to publish the strings to the SMBIOS string area. */
UINTN EFIAPI StringTableGetStringSetSize(IN STRING_TABLE *CONST StrTable)
/* Returns the total size required to publish the strings to the SMBIOS string area. */
UINTN EFIAPI StringTableGetStringSetSize(IN STRING_TABLE *CONST StrTable)
{
  if (StrTable == NULL) {
    ASSERT (0);
    return 0;
  }
  return (StrTable->StrCount == 0) ? 2 :
         (StrTable->TotalStrLen + StrTable->StrCount + 1);
}