VF API Function List

Initialization and Finalization

VFInit(Ex) Initializes the VF library.
VFFinalize Finalizes the VF library.
VFIsAvailable Checks whether the VF library has been initialized.

vff File

VFCreateSystemFile Creates a vff file.
VFDeleteSystemFile Deletes a vff file.

Drives

VFMountDrive(W) Mounts an allocated drive for its use.
VFUnmountDrive(W) Unmounts a drive.
VFAttachDrive*(W) Assigns a drive.
VFDetachDrive(W) Clears a drive assignment.
VFActivateDrive*(W) Activates a drive.
VFInactivateDrive(W) Deactivates a drive.
VFFormatDrive(W) Formats a drive.
VFSync(W) Writes back the data in the cache of the specified drive to the media.
VFBuffering(W) Sets the write mode and write-back mode for the FAT buffer and data buffer.

Directories

VFCreateDir(W) Creates a directory.
VFChangeDir(W) Changes the current directory.
VFDeleteDir(W) Deletes a directory.
VFRenameDir(W) Changes the directory name.
VFMoveDir(W) Moves to a directory.

File

VFCreateFile(W) Creates a file.
VFOpenFile(W) Opens a file.
VFSeekFile Moves the file data's I/O pointer.
VFReadFile Reads data from a file.
VFWriteFile Writes data to a file.
VFCloseFile Closes an open file.
VFDeleteFile(W) Deletes a file.
VFRenameFile(W) Changes the file name.
VFMoveFile(W) Moves a file.
VFGetFileSize(W) Gets the file size.
VFGetFileSizeByFd Gets the file size from the file descriptor.
VFGetOffsetByFd Gets the seek offset from the file descriptor.
VFCutFileSize(W) Reduces the file size.
VFFileSync Writes back the data in the cache of the specified file to the media.

Device Errors

VFGetLastDeviceError(W) Gets the last device error.

Other

VFFileSearchFirst(W) Searches for the specified file.
VFFileSearchNext(W) Performs a search for the next file.
VFGetDriveFreeSize(W) Gets the number of available bytes on a drive.
VFGetLastError Gets the last error.
VFSetTimeStampCallback Configures the timestamp callback.
VFGetApiErrorString Gets the error string from the VF error value.

Types and Structures

VFDta Data structure for file searches
VFErr Error type
VFTime The time structure

CONFIDENTIAL