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.
VFGetDriveFreeSize(W) Gets the number of available bytes on a drive.
VFGetDriveFreeSizeU64(W) Gets the number of available bytes on a drive with a 64-bit unsigned integer.

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.
VFGetFileSizeU32(W) Gets the file size with a 32-bit unsigned integer.
VFGetFileSizeByFd Gets the file size from the file descriptor.
VFGetFileSizeU32ByFd Gets the file size from the file descriptor with a 32-bit unsigned integer.
VFGetOffsetByFd Gets the seek offset from the file descriptor.
VFGetOffsetU32ByFd Gets the seek offset from the file descriptor with a 32-bit unsigned integer.
VFCutFileSize(W) Reduces the file size.
VFFileSync Writes back the data in the cache of the specified file to the media.

Search

VFFileSearchFirst(W) Searches for the specified file.
VFFileSearchNext(W) Performs a search for the next file.

Error

VFGetLastError Gets the last error.
VFGetApiErrorString Gets the error string from the VF error value.
VFGetLastDeviceError(W) Gets the last device error.

Other

VFSetTimeStampCallback Configures the timestamp callback.

Types and Structures

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

CONFIDENTIAL