TCL_CreateTable

Definition

#include <twl/tcl.h>


TCLResult TCL_CreateTable( TCLAccessor* pAccessor ,
                           void* tableBuffer ,
                           u32 tableBufferSize ,
                           void* workBuffer ,
                           u32 workBufferSize ,
                           FSResult* pFSResult );
	

Arguments

pAccessorAccessor
tableBufferBuffer for loading the management file
tableBufferSizeSize of the buffer for loading the management file
workBufferWorking buffer
workBufferSizeSize of the working buffer
pFSResultProcessing result when an error has been generated by an FS function inside this function

Return Values

Processing result

Description

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.

See Also

TCL_LoadTable

Revision History

2008/10/07 Initial version.


CONFIDENTIAL