SolFSStorage.FindByQueryClose method


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

SolFSStorage     See also    


Releases memory allocated by FindByQueryFirst method.


    function FindByQueryClose( var Search: TStorageSearch ): Boolean;

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

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

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

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

    bool FindByQueryClose( ref CBFSStorage.StorageSearch search )

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

    void findByQueryClose(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.


Use this method after calling FindByQueryFirst method to complete the search and release the allocated resources. Calling this method is not necessary, if FindByQueryFirst returned False ([DLL] "errNoMoreFiles" error code)

See also

Files and streams     Using query language     FindByQueryFirst     FindByQueryNext