Solid File System

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

SolFSStorage.FindClose method

Filter:

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

SolFSStorage     See also    

Overview

Releases memory allocated by FindFirst method.

Declaration

[Pascal]
    procedure FindClose(var Search: TStorageSearch);

[Plain C]
    long _stdcall StorageFindClose(unsigned long Storage, PStorageSearch Search);

[C++ (DLL/Lib)]
    void FindClose(TStorageSearch & Search);

[C++ (VCL)]
    void __fastcall FindClose(StorageSearch & Search);

[C++ (.NET)]
    bool FindClose(StorageSearch & Search)

[C#]
    bool FindClose(StorageSearch * search)

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

[Java]
    void findClose(SolFSStorageSearch search)

Parameters

  • Search - must be one that was passed to FindFirst. After execusion of FindClose contents of this parameter is not valid.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.

Return value

    True if the function was successful.
    False - otherwise
     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Description

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

See also

FindFirst     FindFirstEx     FindNext

Back to top