#include <revolution/nwc24.h>
NWC24Err NWC24SetMsgDesignatedTime( NWC24MsgObj* obj, s32 elapsedTime );
Specifies the scheduled send time for a message in minutes elapsed from the present.
Normally when a message is placed in the Outbox, it will be sent the first time the automatic send and receive process starts. However, if a scheduled send time has been configured, the message will not be sent until that scheduled time.
Note: This feature only ensures that a message will not be sent before the specified time; it does not ensure that a message will be sent precisely at the specified time. If the console's power is off, the WiiConnect24 scheduler is stopped, or other similar situations occur when the specified time is reached, the actual sending time may be delayed.
obj |
Pointer to the message object to be set. |
elapsedTime |
Expected transmission time (in minutes elapsed from now). Set a value greater than 0 and no more than 14,400. (14,400 minutes = 10 days.) |
NWC24_OK: Normal exit.
NWC24_ERR_PROTECTED: Cannot change message object.
NWC24_ERR_INVALID_VALUE: Invalid value specified for elapsedTime.
NWC24InitMsgObj, NWC24CommitMsg
2007/11/5 Added a description of the maximum value for elapsedTime.
2007/07/26 Initial version.
CONFIDENTIAL