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_SUCCESSThe function succeeded.
TCL_RESULT_ERROR_FS_OPEN_FILE_EXThe function failed due to FS_OpenFileEx within the function.
TCL_RESULT_ERROR_FS_CLOS_FILEThe function failed due to FS_CloseFile within the function.
TCL_RESULT_ERROR_FS_CREATE_FILE_AUTOThe function failed due to FS_CreateFileAuto within the function.
TCL_RESULT_ERROR_FS_GET_FILE_LENGTHThe function failed due to FS_GetFileLength within the function.
TCL_RESULT_ERROR_FS_READ_FILEThe function failed due to FS_ReadFile within the function.
TCL_RESULT_ERROR_FS_WRITE_FILEThe function failed due to FS_WriteFile within the function.
TCL_RESULT_ERROR_FS_DELETE_FILEThe function failed due to FS_DeleteFile within the function.
TCL_RESULT_ERROR_FS_OPEN_DIRECTORYThe function failed due to FS_OpenDirectory within the function.
TCL_RESULT_ERROR_FS_CLOSE_DIRECTORYThe function failed due to FS_CloseDirectory within the function.
TCL_RESULT_ERROR_FS_GET_ARCHIVE_RESOURCEThe function failed due to FS_GetArchiveResource within the function.
TCL_RESULT_ERROR_OVER_NUM_PICTURESThe process could not be performed because the manageable maximum has been exceeded.
TCL_RESULT_ERROR_NO_TABLE_FILEThe management file does not exist.
TCL_RESULT_ERROR_BROKEN_TABLE_FILEThe management file is corrupted.
TCL_RESULT_ERROR_NO_NEXT_INDEXThe next save location does not exist.
TCL_RESULT_ERROR_EXIST_OTHER_FILEA file already exists in the next save location.
TCL_RESULT_ERROR_ALREADY_MANAGEDThe file in the path specified for the next save location is already being managed.
TCL_RESULT_ERROR_NO_FIND_PICTURENo search result photo or frame was found.
TCL_RESULT_ERROR_OTHERThe error is not defined.

See Also

Revision History

2008/10/07 Initial version.


CONFIDENTIAL