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>TCL_SearchPicturePathByIndex</title>
6<link rel="stylesheet" href="../css/nitro.css" type="text/css">
7</head>
8<body>
9<h1 align="left">TCL_SearchPicturePathByIndex <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>
16TCLResult TCL_SearchPicturePathByIndex( const TCLAccessor* pAccessor ,
17                                        char* path ,
18                                        size_t len ,
19                                        const TCLSearchObject* pSearchObj ,
20                                        int index );
21	</code></pre>
22</dl>
23
24<h2>Arguments</h2>
25<p>
26<table>
27<tr><td><CODE>pAccessor</CODE><td><a href="TCLAccessor.html">Accessor</a>
28<tr><td><CODE>path</CODE><td>Buffer that stores the path
29<tr><td><CODE>len</CODE><td>Path length
30<tr><td><CODE>pSearchObj</CODE><td><a href="TCLSearchObject.html">Search object</a>
31<tr><td><CODE>index</CODE><td>Index of photo information to get from photos that match the search conditions
32</table>
33</p>
34
35<h2>Return Values</h2>
36<p><a href="TCLResult.html">Processing result</a></p>
37
38<h2>Description</h2>
39<p>Gets the storage paths to photos that match the search criteria in the order specified by <code>index</code>.</p>
40<p>If the returned value is not <code>TCL_RESULT_SUCCESS</code>, the path value is undefined.</p>
41<p>While searching, if a function such as <a href="TCL_EncodeAndWritePicture.html"><code>TCL_EncodeAndWritePicture</code></a> or <a href="TCL_SortTable.html"><code>TCL_SortTable</code></a> changes the number or order of photos being managed, the search behavior is no longer defined.</p>
42<p>The accessor must be initialized by the <a href="TCL_LoadTable.html"><code>TCL_LoadTable</code></a> or <a href="TCL_CreateTable.html"><code>TCL_CreateTable</code></a> functions.</p>
43
44<h2>See Also</h2>
45<p><a href="TCL_InitSearchObject.html"><code>TCL_InitSearchObject</code></a></p>
46
47<h2>Revision History</h2>
48<p>
492009/03/04 Corrected errors.<br/> 2008/10/07 Initial version.
50</p>
51
52<hr><p>CONFIDENTIAL</p></body>
53</html>
54