NWC24GetNumDlTasks

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24GetNumDlTasks( u32* numTasks );

Description

Gets the maximum number of download tasks that can be registered, including those already reserved to the system application. The number of tasks that a standard application can register will be smaller than the maximum number gotten.

Developers do not need to be particularly conscious of this number, although the maximum number will change depending on the version of Wii Menu.

Arguments

numTasks Storage location for the maximum number of download tasks that can be registered.

Return Values

NWC24_OK: Obtained normally (a value is returned in *numTasks).
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_INVALID_VALUE: the value of numTasks is NULL.

See Also

NWC24GetNumRegDlTasks

Revision History

2007/11/07 Noted that the maximum gotten will include those reserved by the system and will vary by the version of Wii Menu.
2007/07/25 Initial version.


CONFIDENTIAL