Solid File System

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

SolFSStorage.FindByQueryClose method

Filter:

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

SolFSStorage     See also    

Overview

Releases memory allocated by FindByQueryFirst method.

Declaration

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

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

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

[Java]
    void findByQueryClose(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

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    

Back to top