Closes the specified search handle and releases associated resources.

int _findclose( 
   intptr_t handle 


Search handle returned by a previous call to _findfirst.

If successful, _findclose returns 0. Otherwise, it returns –1 and sets errno to ENOENT, indicating that no more matching files could be found.


Required header



For more compatibility information, see Compatibility in the Introduction.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.