# TCL_DeletePicture

## Definition

  `#include <twl/tcl.h>`

      TCLResult TCL_DeletePicture( TCLAccessor* pAccessor ,
                                   const TCLPictureInfo* pPicInfo ,
                                   FSResult* pFSResult );

## Arguments

pAccessor | Accessor
pPicInfo | Photo information
pFSResult | Location to store the `FSResult` value when an error occurs in an FS function

## Return Values

Processing result

## Description

Deletes photo data.
Note:
Only allow photo data to be deleted if it was created by one of your company's games.
You may even restrict this to items created by the application itself. Because photo data includes the game code of the application that encoded it, call the `SSP_GetJpegDecoderSoftware` function to get a game code after you have decoded the photo data using the `TCL_DecodePicture` function. Compare this game code with the game codes for your company's games.

## See Also

## Revision History

2009/04/13 Explained how to determine which data to delete.
2009/03/23 Initial version.

CONFIDENTIAL