NWC24SetMsgMBRegDate

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24SetMsgMBRegDate( NWC24MsgObj* obj, u16 year, u8 month, u8 day );

Description

Specifies the date when a message is registered on the Wii Message Board calendar.

This 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 NWC24SetMsgMBDelay.

Arguments

obj Pointer to the message object to be set.
year Year to be registered on the calendar.
month Month to be registered on the calendar.
day Day to be registered on the calendar.

Return Values

NWC24_OK: Normal exit.
NWC24_ERR_PROTECTED: Message object cannot be changed.
NWC24_ERR_NOT_SUPPORTED: A message type other than used by the Wii Message Board is specified for obj.
NWC24_ERR_INVALID_VALUE: A year other than 2000 to 2035 has been specified for year, or the date is invalid.

See Also

NWC24InitMsgObj
NWC24SetMsgMBDelay

Revision History

2007/04/03 Added a description.
2006/10/06 Initial version.


CONFIDENTIAL