Solid File System

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

SolFSStorage.MaxPageCount property

Filter:

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

SolFSStorage     See also    

Overview

Specifies the maximum number of pages in the storage.

Declaration

[Pascal]
    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)

[C#]
    unsigned int MaxPageCount

[VB.NET]
    Property MaxPageCount As Integer

[Java]
    long getMaxPageCount()
    void setMaxPageCount(long value)

Parameters

  • [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.

Description

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

PageSize

Back to top