TCL Function List

# DSi Photo Database Library (TCL) List of Functions

### General

TCL_GetTableBufferSize |  | Returns the buffer size needed to load the management file.
TCL_GetWorkBufferSize |  | Returns working buffer size needed to load the management file.
TCL_CalcNumEnableToTakePictures |  | Calculates the number of photos that can be taken.
TCL_GetCurrentSecond |  | Gets the current time, in seconds.

### Using Management Files

TCL_LoadTable |  | Loads the management file.
TCL_CreateTable |  | Generates the management file.
TCL_RepairTable |  | Repairs the management file.
TCL_SortTable |  | Sorts the photo information in the management file.

### Search-Related

TCL_InitSearchObject |  | Initializes the search object.
TCL_GetNumPictures |  | Gets the number of photos that match the search conditions.
TCL_SearchNextPictureInfo |  | Gets the information of the next photo that matches the search conditions.
TCL_SearchPictureInfoByIndex |  | Gets the photo information that matches the search conditions.
TCL_SearchNextPicturePath |  | Gets the path to where the next photo that matches the search conditions is stored.
TCL_SearchPicturePathByIndex |  | Gets the path to where the photo that matches the search conditions is stored.
TCL_PrintPicturePath |  | Gets from the photo path from the photo information.
TCL_GetPictureInfoFromPath |  | Gets photo information from the path to a saved photo.

### Photo-Related

TCL_GetJpegEncoderBufferSize |  | Returns the work buffer size required for JPEG encoding.
TCL_EncodeAndWritePicture(Ex) |  | Encodes the image data in JPEG and saves it.
TCL_GetLastWrittenPicturePath |  | Returns the path of the image last written.
TCL_GetLastWrittenPictureInfo |  | Returns photo information for the last image to be written.
TCL_DecodePicture |  | Decodes the image file in JPEG.
TCL_IsSameImageType |  | Determines whether image types are the same.
TCL_DeletePicture |  | Deletes an image file.

### Constants

General Constants |  | Various constants.
TCLResult |  | Processing result.
TCLFavoriteType |  | Favorites type.
TCLImageType |  | Image type.
TCLKeyType |  | Signature type applied to the photo.
TCLSearchCondition |  | Search conditions.
TCLSortType |  | Type used to sort the management file.

### Types and Structures

TCLAccessor |  | Use the accessor to access various TCL functions.
TCLPictureInfo |  | Shows the photo information in the management file.
TCLSearchObject |  | Used with search-related functions.
TCLMakerNote |  | The structure inserted in the Exif `Maker Note` tag of the JPEG image metadata.

CONFIDENTIAL