#include <revolution/vf.h>
typedef s32 VFErr;
VFErr VFDeleteDir( const char* dirName );
VFErr VFDeleteDirW( const VFWchar* dirName );
dirName |
The address storing the path and directory name. Either a full or relative path may be specified. |
When successful, 0.
When failed, a VFErr other than 0.
Deletes a directory. In the following instances, the directory specified by dirName is not deleted and an error is returned.
* When it is the root directory.
* When it is the current directory.
* When it is the parent directory.
* When a file or directory exists in the directory.
Wild card characters ('*' and '?') cannot be used when specifying the directory name.
2006/04/26 Release.
CONFIDENTIAL