1 #include <precomp.h> 2 #include <tchar.h> 3 #include <io.h> 4 5 // Generate _findfirst and _findnext 6 #include "findgen.c" 7 8 /* 9 * @implemented 10 */ _findclose(intptr_t handle)11int _findclose(intptr_t handle) 12 { 13 if (!FindClose((HANDLE)handle)) { 14 _dosmaperr(GetLastError()); 15 return -1; 16 } 17 18 return 0; 19 } 20