NWC24IterateDlTaskEx

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24IterateDlTaskEx( NWC24DlIterateContext* context, u16* id );

Description

Iterates through the tasks registered in the task list in the specified order.

Before using this function you need to call NWC24InitDlIterateContext to set the order of iteration and initialize the context.

Once the iteration is complete, NWC24_ERR_DONE is returned as a return value.

Arguments

context Pointer to the iteration context.
id The ID of the iterated download task.

Return Values

NWC24_OK: Normal termination (iteration not completed).
NWC24_ERR_DONE: Iteration of all download tasks has completed.
NWC24_ERR_INVALID_VALUE: Either the context or the sort order set for the context is invalid.

See Also

NWC24InitDlIterateContext

Revision History

2007/09/20 Added text about initialization of the context.
2006/12/05 Initial version.


CONFIDENTIAL