store_dc_args (pchar -w byte_array, pint -w length, int array_length, p_dc_args _, p_settings _)
{
  delete_group_if_exists (hprf file, pchar group_name)
  {
    delete_group (file, group_name) : (file->group_exists (group_name));
  }

  hprf file, *length = open_profile (&file),
  {
    file = {
             file_format : FF_BRACES,
             data_source : byte_array,
             source_length : array_length,
             access_mode : OPEN_READ | OPEN_WRITE
           }
  };

  pchar group_name = settings->config_files.INI/DC_ARGS/GROUP_NAME;

  add_group (file, group_name, type_name), 
  { 
    delete_group_if_exists (file, group_name),
    {
      type_name = resolve_const_name (dc_args->type_stamp)
    }
  };

  prf_write (file, group_name, key_name, dc_args->hardware_version_string),
  {
    key_name = settings->config_files.INI/DC_ARGS/HW_VERSION
  }; 

  prf_write (file, group_name, key_name, dc_args->software_version_string),
  {
    key_name = settings->config_files.INI/DC_ARGS/SW_VERSION
  };

  ...

}
/
{
  close (&file);
}
