BB FlashBack SDK: FBVDisk

CreateFile

Description

Creates a new virtual file in the virtual disk.

Syntax

[C#/C++]
public FBVFile* CreateFile (String sFileName, long lCompression)

[VB.NET]
public Function CreateFile (ByVal sFileName As String, ByVal lCompression As Long) As FBVFile

Parameters

sFileName - filename of the virtual file to create.

lCompression - the level of compression to be used for this file. 0 = minimum compression, 9=maximum compression. The higher the compression level, the smaller the movie file, but the longer it will take to decompress and access the file.

Return values

If the function succeeds, the return value is a pointer to the new FBVFile object.

If the function fails, the return value is zero.

See Also

FBVDisk::OpenFile  FBVDisk::DeleteFile