NWC24SetDlRetryMargin

Syntax


#define NWC24_DL_RETRYMARGIN_MIN                (30)
#define NWC24_DL_RETRYMARGIN_MAX                (60*24*14)
#define NWC24_DL_RETRYMARGIN_DEFAULT            (60*24)

#include <revolution/nwc24.h>
NWC24Err NWC24SetDlRetryMargin( NWC24DlTask* taskPublic, u16 min );

Description

Sets the length of time by which the expected download time may be exceeded.

Arguments

taskPublic Pointer to the download task.
min Allowed overrun time (in minutes).

Return Values

NWC24_OK: Ended normally.
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_PROTECTED: The download task is write protected.
NWC24_ERR_INVALID_VALUE: The value of taskPublic is NULL, the download task is invalid, or the value of min exceeds the range that can be set.

See Also

NWC24GetDlRetryMargin

Revision History

2006/12/05 Initial version.


CONFIDENTIAL