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<TITLE>NWC24InitMsgObj</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NWC24InitMsgObj</H1> 11 12<H2>C Specification</H2> 13<DL> 14<DD><PRE><CODE>#include <revolution/nwc24.h></CODE></PRE> 15<DD><PRE><CODE><A HREF="../Types/NWC24Err.html">NWC24Err</A> NWC24InitMsgObj( <A HREF="../Types/NWC24MsgObj.html">NWC24MsgObj</A>* <EM>obj</EM>, <A HREF="../Types/NWC24MsgType.html">NWC24MsgType</A> <EM>type</EM> );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Initializes the message object used to create a new message.<BR>To call the NWC24SetMsg* type functions and configure various settings, the message object must be initialized first. 21</P> 22 23<H2>Arguments</H2> 24<TABLE border="1" cellpadding="3" cellspacing="0.1"> 25 <TR> 26<TD width="120" bgcolor="#ffffe8"><code><em><strong>obj</strong></em></code></TD> 27 <TD width="520"> 28Pointer to the message object to be initialized. 29 </TD> 30 </TR> 31 <TR> 32<TD width="120" bgcolor="#ffffe8"><code><em><strong>type</strong></em></code></TD> 33 <TD width="520"> 34Message type<BR> 35 <TABLE width="500" border="1" cellspacing="0.1"> 36 <tr> 37<TD width="150" bgcolor="#C0C0C0">Name</TD> 38<TD width="350" bgcolor="#C0C0C0">Description</TD> 39 </tr> 40 <TR> 41<TD width="150"><CODE>NWC24_MSGTYPE_WII_APP<BR>NWC24_MSGTYPE_RVL_APP</CODE></TD> 42<TD width="350">Messages used by the application and exchanged between Wii consoles. The content can be referenced by any application.</TD> 43 </TR> 44 <TR> 45<TD width="150"><CODE>NWC24_MSGTYPE_WII_APP_HIDDEN<BR>NWC24_MSGTYPE_RVL_APP_HIDDEN</CODE></TD> 46<TD width="350">Messages exchanged between Wii consoles can only be opened by the relevant application.</TD> 47 </TR> 48 <TR> 49<TD width="150"><CODE>NWC24_MSGTYPE_WII_MENU<BR>NWC24_MSGTYPE_RVL_MENU</CODE></TD> 50<TD width="350">Messages that are posted on the Wii Message Board and are exchanged between Wii consoles.</TD> 51 </TR> 52 <TR> 53<TD width="150"><CODE>NWC24_MSGTYPE_WII_MENU_SHARED<BR>NWC24_MSGTYPE_RVL_MENU_SHARED</CODE></TD> 54<TD width="350">Messages that are posted on the Wii Message Board and are exchanged between Wii consoles. The contents can be referenced from any application.</TD> 55 </TR> 56 <TR> 57<TD width="150"><CODE>NWC24_MSGTYPE_PUBLIC</CODE></TD> 58<TD width="350">Messages that are exchanged with a general e-mail address</TD> 59 </TR> 60 </TABLE> 61 </TD> 62 </TR> 63</TABLE> 64 65<h2>Return Values</h2> 66<P> 67<code>NWC24_OK</code>: Ended normally. <BR> <code>NWC24_ERR_INVALID_VALUE</code>: Invalid message type specified in <code><em><strong>type</strong></em></code>.<BR> 68</P> 69 70<H2>See Also</H2> 71<P> 72</P> 73 74<H2>Revision History</H2> 75<P> 762006/09/21 Revised the description for each message type again.<BR>2006/08/29 Revised the description for each message type.<BR>2006/08/01 Initial version. 77</P> 78 79<hr><p>CONFIDENTIAL</p></body> 80</HTML>