ReactOS 0.4.16-dev-122-g325d74c
find.c
Go to the documentation of this file.
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 */
12{
13 if (!FindClose((HANDLE)handle)) {
15 return -1;
16 }
17
18 return 0;
19}
int intptr_t
Definition: crtdefs.h:304
BOOL WINAPI FindClose(HANDLE hFindFile)
Definition: find.c:502
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:79
int _findclose(intptr_t handle)
Definition: find.c:11
DWORD WINAPI GetLastError(void)
Definition: except.c:1042