NWC24CreateDlVf

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24CreateDlVf( NWC24DlTask* taskPublic, u32 size );

Description

Creates a VF archive (Download Box) for file storage. A file of size bytes is created below the Home directory, so when creating a new file use NANDCheck beforehand.

Arguments

taskPublic Pointer to the download task.
size Size of the VF archive.

Return Values

NWC24_OK: Ended normally.
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_PROTECTED: The download task is write protected.
NWC24_ERR_INVALID_VALUE: The value of taskPublic is NULL, the download task is invalid, or the specified size was not sufficiently large.
NWC24_ERR_FILE_*: Internal file operation error.
NWC24_ERR_INTERNAL_VF: The VF library called internally returned an error.
NWC24_ERR_NAND_CORRUPT: NAND_RESULT_CORRUPT occurred internally.
NWC24_ERR_FATAL: A fatal error occurred.

See Also

Revision History

2006/12/05 Initial version.


CONFIDENTIAL