SolFSStorage.FindClose method
Filter:
Pascal DLL C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
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.
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)
