1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<TITLE>WPADGetGameDataTimeStamp</TITLE>
9</HEAD>
10<BODY>
11
12<H1>WPADGetGameDataTimeStamp</H1>
13
14<H2>Syntax</H2>
15<dl><dd><pre class="construction">
16#include &lt;revolution/wpad.h&gt;
17
18s32 WPADGetGameDataTimeStamp( s32 chan, OSTime *time );
19</pre></dd></dl>
20
21<H2>Arguments</H2>
22<TABLE class="arguments" border="1" >
23  <TBODY>
24    <TR>
25<TH>chan</TH>
26<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
27    </TR>
28    <TR>
29<TH>time</TH>
30<TD>A pointer that copies the time stamp recorded as the game data's file information.</TD>
31    </TR>
32  </TBODY>
33</TABLE>
34
35<H2>Return Values</H2>
36<p>
37Returns one of the following codes:
38</p>
39<p>
40<code>WPAD_ERR_NONE</code><br> <code>WPAD_ERR_INVALID</code><br>
41</P>
42
43<H2>Description</H2>
44<p>
45Gets the date and time when the game data was last saved in the Wii Remote's internal memory.
46</p>
47<p>
48<code>WPAD_ERR_NONE</code> is returned when the date and time are gotten correctly. <code>WPAD_ERR_INVALID</code> is returned when the file information is broken or the file has not been saved.
49</p>
50
51<H2>See Also</H2>
52<p class="reference">
53<A href="./WPADWriteGameData.html">WPADWriteGameData</A>,
54<A href="./WPADReadGameData.html">WPADReadGameData</A>
55</p>
56
57<H2>Revision History</H2>
58<p>
592005/08/15 Initial version.<br>
60</p>
61<hr><p>CONFIDENTIAL</p></body>
62</HTML>