Closes the specified search handle.
Syntax
HRESULT FindClose( HANDLE hSearchHandle );
Parameters
- hSearchHandle
- Search handle returned by a previous call to the FindFirstFile function.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The FindFirstFile and FindNextFile functions use the search handle to locate files with names that match a given name.