# TCL_RepairTable

## Definition

  `#include <twl/tcl.h>`

      TCLResult TCL_RepairTable( TCLAccessor* pAccessor , FSResult* pFSResult );

## Arguments

`pAccessor` | Accessor
`pFSResult` | Processing result when an error has been generated by an FS function inside this function

## Return Values

Processing result

## Description

If a valid index has not been specified for the next save location, the photo can be loaded but it cannot be written. The return value of the `TCL_LoadTable` function is either `TCL_RESULT_ERROR_EXIST_OTHER_FILE` or `TCL_RESULT_ERROR_ALREADY_MANAGED`. When a valid index is not specified, use this function to search again for the next save location. A successful search will make it possible to write the photo.

When this function succeeds, the management file is overwritten and updated. In addition, the photo information can be both loaded and written.

The accessor must be initialized by the `TCL_LoadTable` or `TCL_CreateTable` functions.

## See Also

`TCL_LoadTable`

## Revision History

2008/10/07 Initial version.

CONFIDENTIAL