/* This function applies changes in a driver's configuration. Input is a Configuration, which has the routing data for this driver followed by name / value configuration pairs. The driver must apply those pairs to its configurable storage. If the driver's configuration is stored in a linear block of data and the driver's name / value pairs are in <BlockConfig> format, it may use the ConfigToBlock helper function (above) to simplify the job. Currently not implemented. */
EFI_STATUS EFIAPI VariableCleanupHiiRouteConfig(IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, IN CONST EFI_STRING Configuration, OUT EFI_STRING *Progress)
/* This function applies changes in a driver's configuration. Input is a Configuration, which has the routing data for this driver followed by name / value configuration pairs. The driver must apply those pairs to its configurable storage. If the driver's configuration is stored in a linear block of data and the driver's name / value pairs are in <BlockConfig> format, it may use the ConfigToBlock helper function (above) to simplify the job. Currently not implemented. */
EFI_STATUS EFIAPI VariableCleanupHiiRouteConfig(IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, IN CONST EFI_STRING Configuration, OUT EFI_STRING *Progress)
{
  EFI_STATUS                         Status;
  VARIABLE_CLEANUP_HII_PRIVATE_DATA  *Private;
  UINTN                              BufferSize;
  if (Progress == NULL) {
    return EFI_INVALID_PARAMETER;
  }
  *Progress = Configuration;
  if (Configuration == NULL) {
    return EFI_INVALID_PARAMETER;
  }
  if (!HiiIsConfigHdrMatch (Configuration, &mVariableCleanupHiiGuid, mVarStoreName)) {
    return EFI_NOT_FOUND;
  }
  Private = VARIABLE_CLEANUP_HII_PRIVATE_FROM_THIS (This);
  BufferSize = sizeof (VARIABLE_CLEANUP_DATA);
  Status = Private->ConfigRouting->ConfigToBlock (
                                     Private->ConfigRouting,
                                     Configuration,
                                     (UINT8 *)&Private->VariableCleanupData,
                                     &BufferSize,
                                     Progress
                                     );
  ASSERT_EFI_ERROR (Status);
  DeleteUserVariable (FALSE, &Private->VariableCleanupData);
  return EFI_SUCCESS;
}