NWC24GetDlVfPathByTask

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24GetDlVfPathByTask( const NWC24DlTask* taskPublic, char* buf, u32 len );
NWC24Err NWC24GetDlVfName( const NWC24DlTask* taskPublic, char* buf, u32 len );

Description

Gets the VF archive file path where the specified download task stores files. NWC24GetDlVfName is the old name for NWC24GetDlVfPathByTask. Retained for compatibility with past versions.

Arguments

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

Return Values

NWC24_OK: Gotten normally (A value is returned in *buf).
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_INVALID_VALUE: The value of either taskPublic or buf is NULL, or either the download task or the application ID is invalid.
NWC24_ERR_NOMEM: The string length of the path overflowed the buffer.

See Also

Revision History

2007/08/28 Changed the name to NWC24GetDlVfPathByTask.
2007/06/06 Added note about mounting VF.
2006/12/05 Initial version.


CONFIDENTIAL