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 15<H2>C Specification</H2> 16<DL> 17 <DD> 18<PRE><code>#include <revolution/wpad.h> 19 20s32 WPADGetGameTitleUtf16( s32 chan, const u16 **title ); 21</code></PRE> 22</DL> 23<H2>Arguments</H2> 24<TABLE border="1"> 25 <TBODY> 26 <TR> 27<TD width="120" bgcolor="#ffffe8"><code><b><i>chan</i></b></code></TD> 28<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 29 </TR> 30 <TR> 31<TD width="120" bgcolor="#ffffe8"><CODE><b><i>title</i></b></CODE></TD> 32<TD>Pointer to the game title to register as the game data's file information.</TD> 33 </TR> 34 </TBODY> 35</TABLE> 36<H2>Return Values</H2> 37<p> 38Returns one of the following codes: 39</p> 40<p> 41<code>WPAD_ERR_NONE</code><br> <code>WPAD_ERR_INVALID</code><br> 42</P> 43 44<H2>Description</H2> 45<p> 46Gets the pointer to the game title string to register as the file infomation for the game data to be saved in the Wii Remote's internal memory. The string is encoded as UTF-16. 47</p> 48<p> 49<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. 50</p> 51<H2>See Also</H2> 52<p> 53<A href="./toc.html" target="contents">WPAD Functions</A><br> <A href="./WPADWriteGameData.html"><CODE>WPADWriteGameData</CODE></A>, <A href="./WPADReadGameData.html"><CODE>WPADReadGameData</CODE></A>, <A href="./WPADSetGameTitleUtf16.html"><CODE>WPADSetGameTitleUtf16</CODE></A><br> 54</p> 55 56 57<H2>Revision History</H2> 58<p> 592006/09/23 Initial version. 60</p> 61<hr> 62<P>CONFIDENTIAL</p> 63</BODY> 64</HTML>