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_CreateTable</title> 6<link rel="stylesheet" href="../css/nitro.css" type="text/css"> 7</head> 8<body> 9<h1 align="left">TCL_CreateTable <img src="../image/TWL.gif" align="middle"></h1> 10 11<h2>Definition</h2> 12<dl> 13 <dd> 14 <code>#include <twl/tcl.h></code><br/> <br/> 15 <pre><code> 16TCLResult TCL_CreateTable( TCLAccessor* pAccessor , 17 void* tableBuffer , 18 u32 tableBufferSize , 19 void* workBuffer , 20 u32 workBufferSize , 21 FSResult* pFSResult ); 22 </code></pre> 23</dl> 24 25<h2>Arguments</h2> 26<p> 27<table> 28<tr><td><CODE>pAccessor</CODE><td><a href="TCLAccessor.html">Accessor</a> 29<tr><td><code>tableBuffer</code><td>Buffer for loading the management file 30<tr><td><code>tableBufferSize</code><td>Size of the buffer for loading the management file 31<tr><td><code>workBuffer</code><td>Working buffer 32<tr><td><code>workBufferSize</code><td>Size of the working buffer 33<tr><td><CODE>pFSResult</CODE><td>Processing result when an error has been generated by an FS function inside this function 34</table> 35</p> 36 37<h2>Return Values</h2> 38<p><a href="TCLResult.html">Processing result</a></p> 39 40<h2>Description</h2> 41<p>Generates a management file if the value returned by the <a href="TCL_LoadTable.html"><code>TCL_LoadTable</code></a> function is neither <code>TCL_RESULT_ERROR_EXIST_OTHER_FILE</code> nor <code>TCL_RESULT_ERROR_ALREADY_MANAGED</code>. If a management file already exists, <CODE>TCL_CreateTable</CODE> deletes it and then generates a new management file. </p> 42<p>For <code>tableBuffer</code> and <code>tableBufferSize</code>, specify a buffer and a buffer size. The buffer size is determined by the <a href="TCL_GetTableBufferSize.html"><code>TCL_GetTableBufferSize</code></a> function.</p> 43<p>For <code>workBuffer</code> and <code>workBufferSize</code>, specify a buffer and a buffer size. The buffer size is determined by the <a href="TCL_GetWorkBufferSize.html"><code>TCL_GetWorkBufferSize</code></a> function. </p> 44<p>This function regenerates the management file, so all previous favorite information is deleted. Call this function with care.</p> 45 46<h2>See Also</h2> 47<p><code><a href="TCL_LoadTable.html">TCL_LoadTable</a></code></p> 48 49<h2>Revision History</h2> 50<p> 512008/10/07 Initial version. 52</p> 53 54<hr><p>CONFIDENTIAL</p></body> 55</html> 56