Solid File System

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

SolFSStorage.FindByQueryNext method

Filter:

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

SolFSStorage     See also    

Overview

Returns the next entry matching the query specified in a previous call to FindByQueryFirst method.

Declaration

[Pascal]
    function FindByQueryNext( var Search: TStorageSearch ): Boolean;

[Plain C]
    long _stdcall StorageFindByQueryNext( Handle Storage, PStorageSearch Search );

[C++ (DLL/Lib)]
    bool FindByQueryNext( TStorageSearch &Search )

[C++ (VCL)]
    bool __fastcall FindByQueryNext( TStorageSearch &Search );

[C++ (.NET)]
    bool FindByQueryNext( TStorageSearch & search )

[C#]
    bool FindByQueryNext( ref SolFS.StorageSearch search )

[VB.NET]
    Function FindByQueryNext( ByRef search As SolFS.StorageSearch ) As Boolean

[Java]
    boolean findByQueryNext(SolFSStorageSearch search)

Parameters

  • Search - returns result of searching.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.

Return value

    True if a file was successfully located.
    False if no files have been found.
     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Description

FindByQueryNext returns the next entry that matches the query specified in a previous call to FindByQueryFirst method. The search record must be one that was passed to FindByQueryFirst method.
To enumerate streams in file see Files and streams. When you finish enumeration, remember to call FindByQueryClose. Calling this method is not necessary, if FindByQueryNext returned False ([DLL] "errNoMoreFiles" error code).

See also

Files and streams     FindByQueryFirst     FindByQueryClose

Back to top