1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 4<meta http-equiv="Content-Style-Type" content="text/css"> 5<title>TCL_CalcNumEnableToTakePictures</title> 6<link rel="stylesheet" href="../css/nitro.css" type="text/css"> 7</head> 8<body> 9<h1 align="left">TCL_CalcNumEnableToTakePictures <img src="../image/TWL.gif" align="middle"></h1> 10 11<h2>Definition</h2> 12<dl> 13 <dd> 14 <code>#include <twl/tcl.h></code><br/> 15 <br/> 16 <pre><code> 17int TCL_CalcNumEnableToTakePictures( const TCLAccessor* pAccessor ); 18 </code></pre> 19</dl> 20 21<h2>Arguments</h2> 22<p> 23<table> 24<tr><td><CODE>pAccessor</CODE><td><a href="TCLAccessor.html">Accessor</a> 25</table> 26</p> 27 28<h2>Return Values</h2> 29<p>The number of photos that can be taken. A negative return value indicates the function failed.</p> 30 31<h2>Description</h2> 32<p>Calculates the number of photos that can be taken.<br>A slight margin is taken in the available space with this function, so if a value greater than 1 is returned, more than one photo can be saved.</p> 33<p>The accessor must be initialized by the <a href="TCL_LoadTable.html"><code>TCL_LoadTable</code></a> or <a href="TCL_CreateTable.html"><code>TCL_CreateTable</code></a> function.</p> 34 35<h2>See Also</h2> 36 37<h2>Revision History</h2> 38<p> 392009/06/29 Added explanation related to the method of calculating the number of photos that can be captured.<br> 2008/10/07 Initial version. 40</p> 41 42<hr><p>CONFIDENTIAL</p></body> 43</html> 44