NWC24GetDlHomeDir

C Specification

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

Description

Gets the home directory path of the application that registered the download task.

Arguments

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

Return Values

NWC24_OK: Acquired 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 home directory path overflowed the buffer.

See Also

Revision History

2006/12/05 Initial version.


CONFIDENTIAL