1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4<meta http-equiv="Content-Style-Type" content="text/css">
5<title>TCL_ChangePictureFavoriteType</title>
6<link rel="stylesheet" href="../css/nitro.css" type="text/css">
7</head>
8<body>
9<h1 align="left">TCL_ChangePictureFavoriteType</h1>
10
11<h2>Definition</h2>
12<dl>
13	<dd>
14	<code>#include &lt;twl/tcl.h&gt;</code><br/> <br/>
15	<pre><code>
16TCLResult TCL_ChangePictureFavoriteType( <a href="TCLAccessor.html">TCLAccessor</a>* pAccessor ,
17                                         <a href="TCLPictureInfo.html">TCLPictureInfo</a>* pPicInfo ,
18                                         <a href="TCLFavoriteType.html">TCLFavoriteType</a> favoriteType ,
19                                         FSResult* pFSResult );
20	</code></pre>
21</dl>
22
23<h2>Arguments</h2>
24<p>
25<table>
26<tr><td><em><strong>pAccessor</strong></em><td>Accessor
27<tr><td><em><strong>pPicInfo</strong></em><td>Photo information
28<tr><td><em><strong>favoriteType</strong></em><td>Favorites type.
29<tr><td><em><strong>pFSResult</strong></em><td>Location to store the <CODE>FSResult</CODE> value when an error occurs in an FS function
30</table>
31</p>
32
33<h2>Return Values</h2>
34<p><a href="TCLResult.html">Processing result</a></p>
35
36<h2>Description</h2>
37<p>
38This function changes the Favorites type of photo data.<br> <br><b><font color="red">Note:</font></b> Only allow the Favorites type to be changed for photo data created by your own titles. 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 <a href="../ssp/jpeg_dec/SSP_GetJpegDecoderSoftware.html"><CODE>SSP_GetJpegDecoderSoftware</CODE></a> function to get a game code after you have decoded the photo data using the <a href="TCL_DecodePicture.html"><CODE>TCL_DecodePicture</CODE></a> function. Compare this game code with the game codes for your company's games.
39</p>
40
41<h2>See Also</h2>
42
43<h2>Revision History</h2>
44<p>
452009/10/14 Initial version.
46</p>
47
48<hr><p>CONFIDENTIAL</p></body>
49</html>
50