EldoS
 Table of Contents >  SolFSStorage.Buffering property
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

SolFSStorage.Buffering property

Filter:

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

SolFSStorage     See also    

Overview

Specifies the number of pages being cached for one stream.

Declaration

[Pascal]
    property Buffering: LongWord;

[DLL]
    long _stdcall StorageSetBuffering(unsigned long Storage, unsigned long PagesPerCluster);
    long _stdcall StorageGetBuffering(unsigned long Storage, unsigned long *PagesPerCluster);

[C++ (DLL/Lib)]
    unsigned long get_Buffering()
    void set_Buffering(unsigned long)

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

[C++ (.NET)]
    LongWord get_Buffering()
    void set_Buffering(LongWord)

[C#]
    unsigned int Buffering

[VB.NET]
    Property Buffering As Integer

Parameters

  • [DLL] Storage - handle to the storage returned by Create or Open function.
  • [DLL] PagesPerCluster - the value of the property

[DLL]  Return values

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

Description

Use this property to control, how many pages will be kept in memory without reading from or writing to storage, for the single stream. When the stream is not compressed, the value is by default 1 and you can change the value. When the stream is compressed, the value set by SetFileCompression method in PagesPerCluster parameter is used. Use Flush to write all pages to storage immediately.

See also

Flush

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation