
#include <twl/tcl.h>
TCLResult TCL_CreateTable( TCLAccessor* pAccessor ,
void* tableBuffer ,
u32 tableBufferSize ,
void* workBuffer ,
u32 workBufferSize ,
FSResult* pFSResult );
pAccessor | Accessor |
tableBuffer | Buffer for loading the management file |
tableBufferSize | Size of the buffer for loading the management file |
workBuffer | Working buffer |
workBufferSize | Size of the working buffer |
pFSResult | Processing result when an error has been generated by an FS function inside this function |
Generates a management file if the value returned by the TCL_LoadTable function is neither TCL_RESULT_ERROR_EXIST_OTHER_FILE nor TCL_RESULT_ERROR_ALREADY_MANAGED. If a management file already exists, TCL_CreateTable deletes it and then generates a new management file.
For tableBuffer and tableBufferSize, specify a buffer and a buffer size. The buffer size is determined by the TCL_GetTableBufferSize function.
For workBuffer and workBufferSize, specify a buffer and a buffer size. The buffer size is determined by the TCL_GetWorkBufferSize function.
This function regenerates the management file, so all previous favorite information is deleted. Call this function with care.
2008/10/07 Initial version.
CONFIDENTIAL