Solid File System

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

StorageGetSizes function

Filter:

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

SolFSStorage     See also    

Overview

Returns info about free and total space of the storage.

Declaration

[Pascal]
    not applicable;

[Plain C]
    long _stdcall StorageGetSizes(unsigned long Storage, bool *FixedSize, unsigned long long *TotalSize, unsigned long long *FreeSpace);

[C++ (DLL/Lib)]
    not applicable;

[C++ (VCL)]
    not applicable;

[C++ (.NET)]
    not applicable;

[C#]
    not applicable;

[VB.NET]
    not applicable;

[Java]
    not applicable;

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] FixedSize - true if the storage is fixed-sized and other parameters are applicable.
  • [Plain C] TotalSize - total size in bytes of storage's data space.
  • [Plain C] FreeSpace - free space in bytes.

[Plain C]  Return values

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

Description

Use this function to find out total and free space in the storage.

See also

FixedSize     DiskSize     DiskFree    

Back to top