#define NWC24_DL_PRIORITY_LOWEST 255
#define NWC24_DL_PRIORITY_DEFAULT 192
#define NWC24_DL_PRIORITY_LIMIT 128
#include <revolution/nwc24.h>
NWC24Err NWC24SetDlPriority( NWC24DlTask* taskPublic, u8 priority );
Sets the priority of a download task. In general, the application can use values in the range of NWC24_DL_PRIORITY_LIMIT to NWC24_DL_PRIORITY_LOWEST, but there are restrictions based on the number of registered tasks and the update check interval. For details, see the WiiConnect24 Programming Guidelines.
taskPublic |
Pointer to the download task. |
priority |
The priority of the download task (0 is the highest priority). |
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, or the download task is invalid.
2007/09/20 Added text regarding guidelines for the number of registered tasks, the priority and the interval.
2006/12/05 Initial version.
fc
CONFIDENTIAL