SolFSStorage.FindClose method


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

SolFSStorage     See also    


Releases memory allocated by FindFirst method.


    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)

    bool FindClose(StorageSearch * search)

    Function FindClose(ByRef search As StorageSearch) As Boolean

    void findClose(SolFSStorageSearch search)


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


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