VFGetLastDeviceError(W)

C Specification


#include <revolution/vf.h>

typedef s32	VFDevErr;

VFDevErr VFGetLastDeviceError( const char* drive );
VFDevErr VFGetLastDeviceErrorW( const VFWchar* drive );

Arguments

drive The drive name.

Return Values

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 library.

Description

Gets the last device error.
When the VF function's return value is VF_ERR_EIO, check the device error with this function and perform processing in compliance with each device's own guidelines.

See Also

Revision History

2006/04/26
2007/05/08 Added explanation of Return Values.
2007/09/10 Added description.fc


CONFIDENTIAL