#include <revolution/nwc24.h>
NWC24Err NWC24SetMsgMBDelay( NWC24MsgObj* obj, u8 delayHours );
Specifies the amount of time to hide the message sent to the local Wii Message Board before actually showing it to users.
The Wii Message Board will not get the message until the time specified by this function has passed since the creation of the message. Until that time, the message stays in the Inbox. During that time, if the message itself is deleted, its registration to the Wii Message Board will be cancelled as well. The message will take the real time of the calendar when it becomes displayable and registered to the calendar.
Note: In version 3.0 and earlier of the Wii Menu, it was determined that a lag of several hours may occur for the hidden time when compared to the set value. Thus, if you cannot determine the version of the Wii menu, you should specify at least 24 hours for delayHours and avoid planning anything that depends on this feature for measuring time.
In addition, this function cannot be used for messages sent to other Wii console's message boards. The same functionality is available through the use of NWC24SetMsgDesignatedTime.
obj |
Pointer to the message object to be set. |
delayHours |
Time to hide display (in hours). Minimum: 24 (recommended). Maximum: 255. |
NWC24_OK: completed normally.
NWC24_ERR_PROTECTED: message object is protected (i.e., cannot be changed).
NWC24_ERR_NOT_SUPPORTED: A message type other than that used by the Wii Message Board is specified for obj, or another Wii on the network is attempting to send a message.
NWC24InitMsgObj NWC24SetMsgDesignatedTime
2007/11/18 Prohibition against use for sending to other Wii consoles.
2007/09/19 Added text to the notes and for the range of values.
2007/04/03 Added more information on the timing for getting the Wii Message Board.
2006/10/06 Initial version.
CONFIDENTIAL