#include <revolution/card.h>
typedef void (*CARDCallback)( s32 chan, s32 result );
s32 CARDRenameAsync(s32 chan, const char* oldName, const char* newName, CARDCallback callback);
|
EXI channel number. |
|
Pointer to the file name to rename. |
|
Pointer to the new file name. |
|
Callback function to notify about the result. |
One of the following codes:
CARD_RESULT_FATAL_ERROR
CARD_RESULT_NOCARD
CARD_RESULT_NOFILE
CARD_RESULT_NOPERM
CARD_RESULT_BUSY
CARD_RESULT_EXIST
CARD_RESULT_NAMETOOLONG
CARD_RESULT_IOERROR
CARD_RESULT_READY
Asynchronously renames a file.
Note: This function is provided for debugging. Do not use in programs.
2006/03/01 Initial version.
CONFIDENTIAL