#include <revolution/vf.h>
typedef s32 VFDevErr;
VFDevErr VFGetLastDeviceError( const char* drive );
VFDevErr VFGetLastDeviceErrorW( const VFWchar* drive );
drive |
The drive name. |
If a device error is generated while the NAND drive is in use,
returns NAND_RESULT_* for the NAND drive.
For further details, see the error values for each device's library.
Gets the last device error.
If return value of the VF function is VF_ERR_EIO, check the device error with this function and process according to the guidelines for that device.
2006/04/26
2007/05/08 Described return values.
2007/09/10 Added a description.
CONFIDENTIAL