NWC24GetDlUrl

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24GetDlUrl( const NWC24DlTask* taskPublic, char* url, s32 len );

Description

Gets the URL for a download task.

Arguments

taskPublic Pointer to the download task.
url Pointer to the location where the URL of the download task will be stored.
len Length of the storage buffer.

Return Values

NWC24_OK: Acquired normally (A value is returned in *url).
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_INVALID_VALUE: The value of either taskPublic or url is NULL, or the download task is invalid.
NWC24_ERR_NOT_FOUND: The URL of the download task is an empty string.
NWC24_ERR_FAILED: The URL of the download task is invalid.
NWC24_ERR_NOMEM: The string length of the download task's URL overflowed the buffer.

See Also

NWC24SetDlUrl

Revision History

2006/12/05 Initial version.


CONFIDENTIAL