1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<title>VFGetDriveFreeSize(W)</title>
9</head>
10
11<body>
12
13<h1>VFGetDriveFreeSize(W)</h1>
14
15<h2>C Specification</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/vf.h&gt;
18
19typedef u16	VFWchar;
20
21s32 VFGetDriveFreeSize( const char* drive );
22s32 VFGetDriveFreeSizeW( const VFWchar* drive );
23</code></pre></dd></dl>
24
25<h2>Arguments</h2>
26<p>
27<TABLE border="1" >
28  <tr>
29<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM><code><EM><STRONG>path</STRONG></EM></code></EM></STRONG></CODE></TD>
30<TD width="520">The name of the drive to be mounted. Specify a single letter.</TD>
31  </tr>
32</TABLE>
33</p>
34
35<h2>Return Values</h2>
36<PRE>
37When successful, the remaining size (in bytes).
38Otherwise -1.
39</PRE>
40
41
42<H2>Description</H2>
43<p>
44Gets 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.
45</p>
46
47<h2>See Also</h2>
48
49<H2>Revision History</H2>
50<p>2006/05/31 Release.</p>
51
52
53<hr><p>CONFIDENTIAL</p></body>
54</html>
55