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>pAccessor<td><a href="TCLAccessor.html">Accessor</a>
28<tr><td>path<td>Buffer that stores the path
29<tr><td>len<td>Path length
30<tr><td>pSearchObj<td><a href="TCLSearchObject.html">Search object</a>
31<tr><td>index<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 <SPAN class="argument">index</SPAN>.</p>
40<p>If the returned value is not <code>TCL_RESULT_SUCCESS</code>, the path value is undefined.</p>
41<p>Behavior is undefined if a function such as <a href="TCL_EncodeAndWritePicture.html"><code>TCL_EncodeAndWritePicture</code></a>, <a href="TCL_SortTable.html"><code>TCL_SortTable</code></a>, or <a href="TCL_DeletePicture.html"><CODE>TCL_DeletePicture</CODE></a> changes the number or order of photos being managed during a search.</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> function.</p>
43
44<h2>See Also</h2>
45<p><code><a href="TCL_InitSearchObject.html">TCL_InitSearchObject</a></code></p>
46
47<h2>Revision History</h2>
48<p>
492009/03/23 Added a condition when behavior would be undefined.<br> 2009/03/04 Fixed typos.<br/> 2008/10/07 Initial version.
50</p>
51
52<hr><p>CONFIDENTIAL</p></body>
53</html>
54