# TCLResult

## Definition

  `#include <twl/tcl.h>`

      typedef enum
      {
          TCL_RESULT_SUCCESS = 0 ,
          TCL_RESULT_ERROR_FS_OPEN_FILE_EX ,
          TCL_RESULT_ERROR_FS_CLOSE_FILE ,
          TCL_RESULT_ERROR_FS_CREATE_FILE_AUTO ,
          TCL_RESULT_ERROR_FS_GET_FILE_LENGTH ,
          TCL_RESULT_ERROR_FS_READ_FILE ,
          TCL_RESULT_ERROR_FS_WRITE_FILE ,
          TCL_RESULT_ERROR_FS_DELETE_FILE ,
          TCL_RESULT_ERROR_FS_OPEN_DIRECTORY ,
          TCL_RESULT_ERROR_FS_CLOSE_DIRECTORY ,
          TCL_RESULT_ERROR_FS_GET_ARCHIVE_RESOURCE ,
          TCL_RESULT_ERROR_OVER_NUM_PICTURES ,
          TCL_RESULT_ERROR_NO_TABLE_FILE ,
          TCL_RESULT_ERROR_BROKEN_TABLE_FILE ,
          TCL_RESULT_ERROR_NO_NEXT_INDEX ,
          TCL_RESULT_ERROR_EXIST_OTHER_FILE ,
          TCL_RESULT_ERROR_ALREADY_MANAGED ,
          TCL_RESULT_ERROR_NO_FIND_PICTURE ,
          TCL_RESULT_ERROR_OTHER ,
          TCL_RESULT_MAX
      } TCLResult;

## Description

The functions return values that indicate processing results.

The values are explained in the following list.

TCL_RESULT_SUCCESS | The function succeeded.
TCL_RESULT_ERROR_FS_OPEN_FILE_EX | The function failed due to `FS_OpenFileEx` within the function.
TCL_RESULT_ERROR_FS_CLOS_FILE | The function failed due to `FS_CloseFile` within the function.
TCL_RESULT_ERROR_FS_CREATE_FILE_AUTO | The function failed due to `FS_CreateFileAuto` within the function.
TCL_RESULT_ERROR_FS_GET_FILE_LENGTH | The function failed due to `FS_GetFileLength` within the function.
TCL_RESULT_ERROR_FS_READ_FILE | The function failed due to `FS_ReadFile` within the function.
TCL_RESULT_ERROR_FS_WRITE_FILE | The function failed due to `FS_WriteFile` within the function.
TCL_RESULT_ERROR_FS_DELETE_FILE | The function failed due to `FS_DeleteFile` within the function.
TCL_RESULT_ERROR_FS_OPEN_DIRECTORY | The function failed due to `FS_OpenDirectory` within the function.
TCL_RESULT_ERROR_FS_CLOSE_DIRECTORY | The function failed due to `FS_CloseDirectory` within the function.
TCL_RESULT_ERROR_FS_GET_ARCHIVE_RESOURCE | The function failed due to `FS_GetArchiveResource` within the function.
TCL_RESULT_ERROR_OVER_NUM_PICTURES | The process could not be performed because the manageable maximum has been exceeded.
TCL_RESULT_ERROR_NO_TABLE_FILE | The management file does not exist.
TCL_RESULT_ERROR_BROKEN_TABLE_FILE | The management file is corrupted.
TCL_RESULT_ERROR_NO_NEXT_INDEX | The next save location does not exist.
TCL_RESULT_ERROR_EXIST_OTHER_FILE | A file already exists in the next save location.
TCL_RESULT_ERROR_ALREADY_MANAGED | The file in the path specified for the next save location is already being managed.
TCL_RESULT_ERROR_NO_FIND_PICTURE | No search result photo or frame was found.
TCL_RESULT_ERROR_OTHER | The error is not defined.

## See Also

## Revision History

2008/10/07 Initial version.

CONFIDENTIAL