1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 7<BASE target="main"> 8<TITLE>VF API Function List</TITLE> 9</HEAD> 10<BODY> 11<H1>VF API Function List</H1> 12 13<H2><a name="Init">Initialization and Finalization</a></H2> 14<TABLE border="1"> 15 <TBODY> 16 <tr> 17<td><a href="./VFInit.html"><code>VFInit(Ex)</code></a></td> 18<td>Initializes the VF library.</td> 19 </tr> 20 <tr> 21<td><a href="./VFFinalize.html"><code>VFFinalize</code></a></td> 22<td>Finalizes the VF library.</td> 23 </tr> 24 <tr> 25<td><a href="./VFIsAvailable.html"><code>VFIsAvailable</code></a></td> 26<td>Checks whether the VF library has been initialized.</td> 27 </tr> 28 </TBODY> 29</TABLE> 30 31<H2><a name="System">vff File</a></H2> 32<TABLE border="1"> 33 <TBODY> 34 <tr> 35<td><a href="./VFCreateSystemFile.html"><code>VFCreateSystemFile</code></a></td> 36<td>Creates a vff file.</td> 37 </tr> 38 <tr> 39<td><a href="./VFDeleteSystemFile.html"><code>VFDeleteSystemFile</code></a></td> 40<td>Deletes a vff file.</td> 41 </tr> 42 </TBODY> 43</TABLE> 44 45<H2><a name="Drive">Drives</a></H2> 46<TABLE border="1"> 47 <TBODY> 48 <tr> 49<td><a href="./VFMountDrive.html"><code>VFMountDrive(W)</code></a></td> 50<td>Mounts an allocated drive for its use.</td> 51 </tr> 52 <tr> 53<td><a href="./VFUnmountDrive.html"><code>VFUnmountDrive(W)</code></a></td> 54<td>Unmounts a drive.</td> 55 </tr> 56 57 <tr> 58<td><a href="./VFAttachDrive.html"><code>VFAttachDrive*(W)</code></a></td> 59<td>Assigns a drive.</td> 60 </tr> 61 <tr> 62<td><a href="./VFDetachDrive.html"><code>VFDetachDrive(W)</code></a></td> 63<td>Clears a drive assignment.</td> 64 </tr> 65 <tr> 66<td><a href="./VFActivateDrive.html"><code>VFActivateDrive*(W)</code></a></td> 67<td>Activates a drive.</td> 68 </tr> 69 <tr> 70<td><a href="./VFInactivateDrive.html"><code>VFInactivateDrive(W)</code></a></td> 71<td>Deactivates a drive.</td> 72 </tr> 73 <tr> 74<td><a href="./VFFormatDrive.html"><code>VFFormatDrive(W)</code></a></td> 75<td>Formats a drive.</td> 76 </tr> 77 <tr> 78<td><a href="./VFSync.html"><code>VFSync(W)</code></a></td> 79<td>Writes back the data in the cache of the specified drive to the media.</td> 80 </tr> 81 <tr> 82<td><a href="./VFBuffering.html"><code>VFBuffering(W)</code></a></td> 83<td>Sets the write mode and write-back mode for the FAT buffer and data buffer.</td> 84 </tr> 85 <tr> 86<td><a href="./VFGetDriveFreeSize.html"><code>VFGetDriveFreeSize(W)</code></a></td> 87<td>Gets the number of available bytes on a drive.</td> 88 </tr> 89 <tr> 90<td><a href="./VFGetDriveFreeSizeU64.html"><code>VFGetDriveFreeSizeU64(W)</code></a></td> 91<td>Gets the number of available bytes on a drive with a 64-bit unsigned integer.</td> 92 </tr> 93 </TBODY> 94</TABLE> 95 96<H2><a name="Directory">Directories</a></H2> 97<TABLE border="1"> 98 <TBODY> 99 <tr> 100<td><a href="./VFCreateDir.html"><code>VFCreateDir(W)</code></a></td> 101<td>Creates a directory.</td> 102 </tr> 103 <tr> 104<td><a href="./VFChangeDir.html"><code>VFChangeDir(W)</code></a></td> 105<td>Changes the current directory.</td> 106 </tr> 107 <tr> 108<td><a href="./VFDeleteDir.html"><code>VFDeleteDir(W)</code></a></td> 109<td>Deletes a directory.</td> 110 </tr> 111 <tr> 112<td><a href="./VFRenameFile.html"><code>VFRenameDir(W)</code></a></td> 113<td>Changes the directory name.</td> 114 </tr> 115 <tr> 116<td><a href="./VFMoveFile.html"><code>VFMoveDir(W)</code></a></td> 117<td>Moves to a directory.</td> 118 </tr> 119 120 </TBODY> 121</TABLE> 122 123<H2><a name="File">File</a></H2> 124<TABLE border="1"> 125 <TBODY> 126 <tr> 127<td><a href="./VFCreateFile.html"><code>VFCreateFile(W)</code></a></td> 128<td>Creates a file.</td> 129 </tr> 130 <tr> 131<td><a href="./VFOpenFile.html"><code>VFOpenFile(W)</code></a></td> 132<td>Opens a file.</td> 133 </tr> 134 <tr> 135<td><a href="./VFSeekFile.html"><code>VFSeekFile</code></a></td> 136<td>Moves the file data's I/O pointer.</td> 137 </tr> 138 <tr> 139<td><a href="./VFReadFile.html"><code>VFReadFile</code></a></td> 140<td>Reads data from a file.</td> 141 </tr> 142 <tr> 143<td><a href="./VFWriteFile.html"><code>VFWriteFile</code></a></td> 144<td>Writes data to a file.</td> 145 </tr> 146 <tr> 147<td><a href="./VFCloseFile.html"><code>VFCloseFile</code></a></td> 148<td>Closes an open file.</td> 149 </tr> 150 <tr> 151<td><a href="./VFDeleteFile.html"><code>VFDeleteFile(W)</code></a></td> 152<td>Deletes a file.</td> 153 </tr> 154 <tr> 155<td><a href="./VFRenameFile.html"><code>VFRenameFile(W)</code></a></td> 156<td>Changes the file name.</td> 157 </tr> 158 <tr> 159<td><a href="./VFMoveFile.html"><code>VFMoveFile(W)</code></a></td> 160<td>Moves a file.</td> 161 </tr> 162 <tr> 163<td><a href="./VFGetFileSize.html"><code>VFGetFileSize(W)</code></a></td> 164<td>Gets the file size.</td> 165 </tr> 166 <tr> 167<td><a href="./VFGetFileSizeU32.html"><code>VFGetFileSizeU32(W)</code></a></td> 168<td>Gets the file size with a 32-bit unsigned integer.</td> 169 </tr> 170 <tr> 171<td><a href="./VFGetFileSizeByFd.html"><code>VFGetFileSizeByFd</code></a></td> 172<td>Gets the file size from the file descriptor.</td> 173 </tr> 174 <tr> 175<td><a href="./VFGetFileSizeU32ByFd.html"><code>VFGetFileSizeU32ByFd</code></a></td> 176<td>Gets the file size from the file descriptor with a 32-bit unsigned integer.</td> 177 </tr> 178 <tr> 179<td><a href="./VFGetOffsetByFd.html"><code>VFGetOffsetByFd</code></a></td> 180<td>Gets the seek offset from the file descriptor.</td> 181 </tr> 182 <tr> 183<td><a href="./VFGetOffsetU32ByFd.html"><code>VFGetOffsetU32ByFd</code></a></td> 184<td>Gets the seek offset from the file descriptor with a 32-bit unsigned integer.</td> 185 </tr> 186 <tr> 187<td><a href="./VFCutFileSize.html"><code>VFCutFileSize(W)</code></a></td> 188<td>Reduces the file size.</td> 189 </tr> 190 <tr> 191<td><a href="./VFFileSync.html"><code>VFFileSync</code></a></td> 192<td>Writes back the data in the cache of the specified file to the media.</td> 193 </tr> 194 </TBODY> 195</TABLE> 196 197<H2><a name="Other">Search</a></H2> 198<TABLE border="1"> 199 <TBODY> 200 <tr> 201<td><a href="./VFFileSearchFirst.html"><code>VFFileSearchFirst(W)</code></a></td> 202<td>Searches for the specified file.</td> 203 </tr> 204 <tr> 205<td><a href="./VFFileSearchNext.html"><code>VFFileSearchNext(W)</code></a></td> 206<td>Performs a search for the next file.</td> 207 </tr> 208 </TBODY> 209</TABLE> 210 211<H2><a name="DeviceError">Error</a></H2> 212<TABLE border="1"> 213 <TBODY> 214 <tr> 215<td><a href="./VFGetLastError.html"><code>VFGetLastError</code></a></td> 216<td>Gets the last error.</td> 217 </tr> 218 <tr> 219<td><a href="./VFGetApiErrorString.html"><code>VFGetApiErrorString</code></a></td> 220<td>Gets the error string from the VF error value.</td> 221 </tr> 222 <tr> 223<td><a href="./VFGetLastDeviceError.html"><code>VFGetLastDeviceError(W)</code></a></td> 224<td>Gets the last device error.</td> 225 </tr> 226 </TBODY> 227</TABLE> 228 229<H2><a name="Other">Other</a></H2> 230<TABLE border="1"> 231 <TBODY> 232 <tr> 233<td><a href="./VFSetTimeStampCallback.html"><code>VFSetTimeStampCallback</code></a></td> 234<td>Configures the timestamp callback.</td> 235 </tr> 236 </TBODY> 237</TABLE> 238 239<H2><a name="Types">Types and Structures</a></H2> 240<TABLE border="1"> 241 <TBODY> 242 <tr> 243<td><a href="./VFDta.html"><code>VFDta</code></a></td> 244<td>Data structure for file searches</td> 245 </tr> 246 <tr> 247<td><a href="./VFErr.html"><code>VFErr</code></a></td> 248<td>Error type</td> 249 </tr> 250 <tr> 251<td><a href="./VFTime.html"><code>VFTime</code></a></td> 252<td>The time structure</td> 253 </tr> 254 </TBODY> 255</TABLE> 256 257<hr><p>CONFIDENTIAL</p></body> 258</HTML> 259