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>NWC24SetMsgMBRegDate</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NWC24SetMsgMBRegDate</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> NWC24SetMsgMBRegDate( <A HREF="../Types/NWC24MsgObj.html">NWC24MsgObj</A>* <EM>obj</EM>, u16 <EM>year</EM>, u8 <EM>month</EM>, u8 <EM>day</EM> );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Specifies the date when a message is registered on the Wii Message Board calendar. 21</P> 22<P> 23This function can only specify what date to register the message on the calendar; it cannot make the message hidden until that date. To delay the display of a message, use <A HREF="NWC24SetMsgMBDelay.html"><CODE>NWC24SetMsgMBDelay</CODE></A>. 24</P> 25 26<H2>Arguments</H2> 27<TABLE border="1" cellpadding="3" cellspacing="0.1"> 28 <TR> 29<TD width="120" bgcolor="#ffffe8"><code><em><strong>obj</strong></em></code></TD> 30 <TD width="520"> 31Pointer to the message object to be set. 32 </TD> 33 </TR> 34 <TR> 35<TD width="120" bgcolor="#ffffe8"><code><em><strong>year</strong></em></code></TD> 36 <TD width="520"> 37Year to be registered on the calendar. 38 </TD> 39 </TR> 40 <TR> 41<TD width="120" bgcolor="#ffffe8"><code><em><strong>month</strong></em></code></TD> 42 <TD width="520"> 43Month to be registered on the calendar. 44 </TD> 45 </TR> 46 <TR> 47<TD width="120" bgcolor="#ffffe8"><code><em><strong>day</strong></em></code></TD> 48 <TD width="520"> 49Day to be registered on the calendar. 50 </TD> 51 </TR> 52</TABLE> 53 54<h2>Return Values</h2> 55<P> 56<code>NWC24_OK</code>: Normal exit.<BR> <code>NWC24_ERR_PROTECTED</code>: Message object cannot be changed.<BR> <code>NWC24_ERR_NOT_SUPPORTED</code>: A message type other than used by the Wii Message Board is specified for <code><em><strong>obj</strong></em></code>.<BR> <code>NWC24_ERR_INVALID_VALUE</code>: A year other than 2000 to 2035 has been specified for <code><em><strong>year</strong></em></code>, or the date is invalid.<BR> 57</P> 58 59<H2>See Also</H2> 60<P> 61<A href="../Message/NWC24InitMsgObj.html"><CODE>NWC24InitMsgObj</CODE></A><BR> <A HREF="NWC24SetMsgMBDelay.html"><CODE>NWC24SetMsgMBDelay</CODE></A> 62</P> 63 64<H2>Revision History</H2> 65<P> 662007/04/03 Added a description.<BR> 2006/10/06 Initial version. 67</P> 68 69<hr><p>CONFIDENTIAL</p></body> 70</HTML>