#include <revolution/nwc24.h>
NWC24Err NWC24GetDlFilename( const NWC24DlTask* taskPublic, char* filename, s32 len );
Gets the save file name for a downloaded file.
taskPublic |
Pointer to the download task. |
filename |
Pointer to the location where the save file name is stored. |
len |
Length of the storage buffer. |
NWC24_OK: Obtained normally (A value is returned in *filename).
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_INVALID_VALUE: The value of either taskPublic or filename is NULL, or the download task is invalid.
NWC24_ERR_NOT_FOUND: The save file name is an empty string.
NWC24_ERR_NOMEM: The string length of the save file name overflowed the buffer.
2006/12/05 Initial version.
CONFIDENTIAL