Solid File System

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

SolFSStorage.MaxPageCount property


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

SolFSStorage     See also    


Specifies the maximum number of pages in the storage.


    property MaxPageCount: LongWord;

[Plain C]
    long _stdcall StorageSetMaxPageCount(unsigned long Storage, unsigned long PageCount);
    long _stdcall StorageGetMaxPageCount(unsigned long Storage, unsigned long *PageCount);

[C++ (DLL/Lib)]
    unsigned long get_MaxPageCount()
    void set_MaxPageCount(unsigned long)

[C++ (VCL)]
    __property LongWord MaxPageCount;

[C++ (.NET)]
    LongWord get_MaxPageCount()
    void set_MaxPageCount(LongWord)

    unsigned int MaxPageCount

    Property MaxPageCount As Integer

    long getMaxPageCount()
    void setMaxPageCount(long value)


  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] PageCount - the maximum number of pages

[Plain C]  Return values

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


This property specifies the maximum number of pages that the storage may contain. If the page number is exceeded (when the data is being written), errStorageFull error is returned. The property is applicable only for resizeable storages.

You can set the value to 0 (no limit) or any number equal or more than 8.

See also


Back to top