ReactOS
0.4.15-dev-5606-gf34e425
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
*/
11
int
_findclose
(
intptr_t
handle
)
12
{
13
if
(!
FindClose
((
HANDLE
)
handle
)) {
14
_dosmaperr
(
GetLastError
());
15
return
-1;
16
}
17
18
return
0;
19
}
_findclose
int _findclose(intptr_t handle)
Definition:
find.c:11
GetLastError
DWORD WINAPI GetLastError(VOID)
Definition:
except.c:1040
handle
Definition:
rpc_generic.c:61
intptr_t
int intptr_t
Definition:
crtdefs.h:304
_dosmaperr
void _dosmaperr(unsigned long oserrcode)
Definition:
errno.c:81
findgen.c
void
Definition:
nsiface.idl:2306
FindClose
BOOL WINAPI FindClose(HANDLE hFindFile)
Definition:
find.c:502
sdk
lib
crt
stdio
find.c
Generated on Wed Jan 25 2023 06:02:44 for ReactOS by
1.8.15