1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
4<meta http-equiv="Content-Style-Type" content="text/css">
5<title>TCLResult</title>
6<link rel="stylesheet" href="../css/nitro.css" type="text/css">
7</head>
8<body>
9<h1 align="left">TCLResult <img src="../image/TWL.gif" align="middle"></h1>
10
11<h2>Definition</h2>
12<dl>
13	<dd>
14	<code>#include &lt;twl/tcl.h&gt;</code><br/> <br/>
15	<pre><code>
16typedef enum
17{
18    TCL_RESULT_SUCCESS = 0 ,
19    TCL_RESULT_ERROR_FS_OPEN_FILE_EX ,
20    TCL_RESULT_ERROR_FS_CLOSE_FILE ,
21    TCL_RESULT_ERROR_FS_CREATE_FILE_AUTO ,
22    TCL_RESULT_ERROR_FS_GET_FILE_LENGTH ,
23    TCL_RESULT_ERROR_FS_READ_FILE ,
24    TCL_RESULT_ERROR_FS_WRITE_FILE ,
25    TCL_RESULT_ERROR_FS_DELETE_FILE ,
26    TCL_RESULT_ERROR_FS_OPEN_DIRECTORY ,
27    TCL_RESULT_ERROR_FS_CLOSE_DIRECTORY ,
28    TCL_RESULT_ERROR_FS_GET_ARCHIVE_RESOURCE ,
29    TCL_RESULT_ERROR_OVER_NUM_PICTURES ,
30    TCL_RESULT_ERROR_NO_TABLE_FILE ,
31    TCL_RESULT_ERROR_BROKEN_TABLE_FILE ,
32    TCL_RESULT_ERROR_NO_NEXT_INDEX ,
33    TCL_RESULT_ERROR_EXIST_OTHER_FILE ,
34    TCL_RESULT_ERROR_ALREADY_MANAGED ,
35    TCL_RESULT_ERROR_NO_FIND_PICTURE ,
36    TCL_RESULT_ERROR_OTHER ,
37    TCL_RESULT_MAX
38} TCLResult;
39	</code></pre>
40</dl>
41
42<h2>Description</h2>
43<p>The functions return values that indicate processing results.</p>
44<p>The values are explained in the following list.</p>
45<table>
46<tr><td>TCL_RESULT_SUCCESS<td>The function succeeded.
47<tr><td>TCL_RESULT_ERROR_FS_OPEN_FILE_EX<td>The function failed due to <code>FS_OpenFileEx</code> within the function.
48<tr><td>TCL_RESULT_ERROR_FS_CLOS_FILE<td>The function failed due to <code>FS_CloseFile</code> within the function.
49<tr><td>TCL_RESULT_ERROR_FS_CREATE_FILE_AUTO<td>The function failed due to <code>FS_CreateFileAuto</code> within the function.
50<tr><td>TCL_RESULT_ERROR_FS_GET_FILE_LENGTH<td>The function failed due to <code>FS_GetFileLength</code> within the function.
51<tr><td>TCL_RESULT_ERROR_FS_READ_FILE<td>The function failed due to <code>FS_ReadFile</code> within the function.
52<tr><td>TCL_RESULT_ERROR_FS_WRITE_FILE<td>The function failed due to <code>FS_WriteFile</code> within the function.
53<tr><td>TCL_RESULT_ERROR_FS_DELETE_FILE<td>The function failed due to <code>FS_DeleteFile</code> within the function.
54<tr><td>TCL_RESULT_ERROR_FS_OPEN_DIRECTORY<td>The function failed due to <code>FS_OpenDirectory</code> within the function.
55<tr><td>TCL_RESULT_ERROR_FS_CLOSE_DIRECTORY<td>The function failed due to <code>FS_CloseDirectory</code> within the function.
56<tr><td>TCL_RESULT_ERROR_FS_GET_ARCHIVE_RESOURCE<td>The function failed due to <code>FS_GetArchiveResource</code> within the function.
57<tr><td>TCL_RESULT_ERROR_OVER_NUM_PICTURES<td>The process could not be performed because the manageable maximum has been exceeded.
58<tr><td>TCL_RESULT_ERROR_NO_TABLE_FILE<td>The management file does not exist.
59<tr><td>TCL_RESULT_ERROR_BROKEN_TABLE_FILE<td>The management file is corrupted.
60<tr><td>TCL_RESULT_ERROR_NO_NEXT_INDEX<td>The next save location does not exist.
61<tr><td>TCL_RESULT_ERROR_EXIST_OTHER_FILE<td>A file already exists in the next save location.
62<tr><td>TCL_RESULT_ERROR_ALREADY_MANAGED<td>The file in the path specified for the next save location is already being managed.
63<tr><td>TCL_RESULT_ERROR_NO_FIND_PICTURE<td>No search result photo or frame was found.
64<tr><td>TCL_RESULT_ERROR_OTHER<td>The error is not defined.
65</table>
66
67<h2>See Also</h2>
68
69<h2>Revision History</h2>
70<p>
712008/10/07 Initial version.
72</p>
73
74<hr><p>CONFIDENTIAL</p></body>
75</html>
76