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>WPADGetGameTitleUtf16</TITLE>
9</HEAD>
10<BODY>
11
12<H1>WPADGetGameTitleUtf16</H1>
13
14<H2>Syntax</H2>
15<dl><dd><pre class="construction">
16#include &lt;revolution/wpad.h&gt;
17
18s32 WPADGetGameTitleUtf16( s32 chan, const u16 **title );
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>title</TH>
30<TD>Pointer to the game title to register 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 pointer to the game title string to register as the file information for the game data to be saved in the Wii Remote's internal memory. The string is encoded as UTF-16.
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<A href="./WPADSetGameTitleUtf16.html">WPADSetGameTitleUtf16</A>
56</p>
57
58<H2>Revision History</H2>
59<p>
602006/09/23 Initial version.<br>
61</p>
62<hr><p>CONFIDENTIAL</p></body>
63</HTML>