EldoS
 Table of Contents >  SolFSStorage.FindClose method
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

SolFSStorage.FindClose method

Filter:

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

SolFSStorage     See also    

Overview

Releases memory allocated by FindFirst method.

Declaration

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

[DLL]
    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

Parameters

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

Return value

    True if the function was successful.
    False - otherwise
     [DLL]  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

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation