#include <revolution/vf.h>
typedef s32 VFErr;
extern VFErr VFActivateDriveNANDFlash( const char* drive, const char* sysFileName );
extern VFErr VFActivateDriveNANDFlashW( const VFWchar* drive, const char* sysFileName );
extern VFErr VFActivateDriveRam ( const char* drive, void* memory );
extern VFErr VFActivateDriveRamW ( const VFWchar* drive, void* memory );
extern VFErr VFActivateDriveDVD ( const char* drive, const char* sysFileName );
extern VFErr VFActivateDriveDVDW ( const VFWchar* drive, const char* sysFileName );
drive |
The name of the drive to be mounted. Specify a single letter. |
sysFileName |
The name of the VFF file name to be mounted. The file name must use the 8.3 format. |
memory |
The RAM address to be mounted. |
When successful, 0.
When failed, a VFErr other than 0.
Mounts the drive reserved by VFAttachDriveXXX( ) and enables its use.
VF_ERR_ALREADY_MOUNTED_DRV_NAME is returned if the specified drive name is already mounted.
Calls should be differentiated by the type of media to be used. You cannot mount a drive that has't been attached.
The name of the drive can be specified from A to Z.
VFInactivateDrive, VFAttachDrive, VFMountDrive
2006/09/21
CONFIDENTIAL