1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7<title>GetLastDateTime</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/jpeg/Overview.html">jpeg</a>::<a href="../../../../nn/jpeg/CTR/Overview.html">CTR</a>::<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/Overview.html">JpegMpDecoder</a>::GetLastDateTime</CODE> Member Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nn/jpeg.h> 14 15size_t GetLastDateTime( 16 char * pBuffer 17) const; 18</pre> 19 </div> 20<h2>Parameters</h2> 21 <div class="section"> 22 <table class="arguments"> 23 <thead> 24 <tr> 25 <td width="15" /> 26<th>Name</th> 27<td>Description</td> 28 </tr> 29 </thead> 30 <tr> 31<td>out</td> 32<th>pBuffer</th> 33<td>Buffer storing date and time information. The size of the buffer is <a href="../../../../nn/jpeg/CTR/DATE_TIME_SIZE.html"><CODE>DATE_TIME_SIZE</CODE></a> (20) bytes.<br />The date and time are obtained as a string with the format "<CODE>YYYY:MM:DD HH:MM:DD</CODE>" terminated with <CODE>0x00</CODE>, for a total of 20 characters.</td> 34 </tr> </table> 35 </div> 36<h2>Return Values</h2> 37<div class="section">Returns <a href="../../../../nn/jpeg/CTR/DATE_TIME_SIZE.html"><CODE>DATE_TIME_SIZE</CODE></a> (20) on success. Returns <CODE>0</CODE> on failure. </div> 38<h2>Description</h2> 39 <div class="section"> 40<p>Gets the timestamp (the time of capture) of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.</p><p>If that processing fails, this function also fails. This function needs image data to get the information. Do not destroy the image data. This information is the information registered in the IFD0 <CODE>DateTime</CODE> tag.</p><p>If you use <CODE><a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastDateTimePointer.html">GetLastDateTimePointer</a></CODE> to change the timestamp of the image, then this function returns the modified timestamp.</p><!-- write here --></div> 41<h2>Revision History</h2> 42 <div class="section"> 43 <dl class="history"> 44 <dt>2011/03/03</dt> 45<dd>Added information relating to <CODE>GetLastDateTimePointer</CODE>.<br /> 46 </dd> 47 <dt>2010/06/14</dt> 48<dd>Initial version.<br /> 49 </dd> 50 </dl> 51 </div> 52 <hr><p>CONFIDENTIAL</p></body> 53</html> 54