VFGetDriveFreeSize(W)

C Specification


#include <revolution/vf.h>

typedef u16	VFWchar;

s32 VFGetDriveFreeSize( const char* drive );
s32 VFGetDriveFreeSizeW( const VFWchar* drive );

Arguments

path The name of the drive to be mounted. Specify a single letter.

Return Values

When successful, the remaining size (in bytes).
Otherwise -1.

Description

Gets the remaining number of bytes for the specified drive. When the available space was successfully obtained, the number of available bytes is returned; otherwise, -1 is returned.

See Also

Revision History

2006/05/31 Release.


CONFIDENTIAL