Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.FormatVolume method

Filter:

Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    

Overview

OPERATING SYSTEM EDITION FOR WINDOWS
Formats a disk volume (partition) to SolFS

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    procedure FormatVolume( const VolumePath: TSolFSString, Flags : LongWord);

[Plain C]
    long _stdcall StorageFormatVolume(const wchar_t* FileName, unsigned long PageSize, const wchar_t* Logo, unsigned long Flags, CallbackDataType ProgressUserData, SolFSProgressFunc ProgressFunc);

[C++ (DLL/Lib)]
    void FormatVolume( const unsigned short * VolumePath, unsigned long flags)

[C++ (VCL)]
    void __fastcall FormatVolume( const TSolFSString VolumePath, unsigned long Flag);

[C++ (.NET)]
    void FormatVolume( String* volumePath, unsigned long flags)

[C#]
    void FormatVolume( string volumePath, uint flags)

[VB.NET]
    Sub FormatVolume( ByVal volumePath As String, ByVal flags As System.UInt32)

[Java]
    not applicable;

Parameters

  • VolumePath - the name of the disk
  • Flags - specifies formatting flags (see values below).
  • [Plain C] PageSize - supposed size of the page in storage in bytes.
  • [Plain C] Logo -
  • [Plain C] ProgressUserData - application-defined data which is passed to OnProgress callback.
  • [Plain C] ProgressFunc - OnProgress callback which is called during the operation.

[Plain C]  Return values

0 if the function succeeded or one of Error codes if the function failed.

Values of Flags

Description

Use FormatVolume to format disk volume (partition) to SolFS.

Volume name can be represented as "X:" or "X:\" where X is the drive letter or as "HarddiskVolumeN" where N is the number of the volume.

See also

OnProgress     PageSize     Logo    

Back to top