/* If ConfigRequest is NULL, then ASSERT(). If Block is NULL, then ASSERT(). */
EFI_STRING EFIAPI InternalHiiBlockToConfig(IN CONST EFI_STRING ConfigRequest, IN CONST UINT8 *Block, IN UINTN BlockSize)
/* If ConfigRequest is NULL, then ASSERT(). If Block is NULL, then ASSERT(). */
EFI_STRING EFIAPI InternalHiiBlockToConfig(IN CONST EFI_STRING ConfigRequest, IN CONST UINT8 *Block, IN UINTN BlockSize)
{
  EFI_STATUS  Status;
  EFI_STRING  ConfigResp;
  CHAR16      *Progress;
  ASSERT (ConfigRequest != NULL);
  ASSERT (Block != NULL);
  Status = gHiiConfigRouting->BlockToConfig (
                                gHiiConfigRouting,
                                ConfigRequest,
                                Block,
                                BlockSize,
                                &ConfigResp,
                                &Progress
                                );
  if (EFI_ERROR (Status)) {
    return NULL;
  }
  return ConfigResp;
}