SolFSStorage.FindByQueryNext method


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

SolFSStorage     See also    


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


    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 )

    bool FindByQueryNext( ref CBFSStorage.StorageSearch search )

    Function FindByQueryNext( ByRef search As CBFSStorage.StorageSearch ) As Boolean

    boolean findByQueryNext(SolFSStorageSearch search)


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


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