CascLib API Reference

CascFindClose

Description


  bool WINAPI CascFindClose(
      HANDLE hFind                    // A valid search handle
      );

Function CascFindClose Closes a search handle that has been created by CascFindFirstFile.

Parameters

hFind [in]
A valid search handle that was obtained by a successful call to CascFindFirstFile.

Return Value

On success, the function returns a true.
On failure, the function returns FALSE and GetLastError() returns the error code.