NWC24SetDlParameter

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24SetDlParameter( NWC24DlTask* taskPublic, u32 param );

Description

Sets an optional parameter value that can be used to identify the task. The user can set this parameter to any desired value, since it has absolutely no impact on the performance of the task itself.

Arguments

taskPublic Pointer to the download task.
parameter An optional parameter.

Return Values

NWC24_OK: Normal termination.
NWC24_ERR_LIB_NOT_OPENED: The library is not 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.

See Also

NWC24GetDlParameter, NWC24GetDlTaskMineEx, NWC24GetDlTaskByAppIdEx, NWC24GetDlTaskIdByAppIdEx

Revision History

2007/08/29 Initial version.


CONFIDENTIAL