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
*/
11
int
_findclose
(
intptr_t
handle
)
12
{
13
if
(!
FindClose
((
HANDLE
)
handle
)) {
14
_dosmaperr
(
GetLastError
());
15
return
-1;
16
}
17
18
return
0;
19
}
intptr_t
int intptr_t
Definition:
crtdefs.h:304
FindClose
BOOL WINAPI FindClose(HANDLE hFindFile)
Definition:
find.c:502
findgen.c
void
Definition:
nsiface.idl:2307
_dosmaperr
void _dosmaperr(unsigned long oserrcode)
Definition:
errno.c:79
_findclose
int _findclose(intptr_t handle)
Definition:
find.c:11
handle
Definition:
rpc_generic.c:61
GetLastError
DWORD WINAPI GetLastError(void)
Definition:
except.c:1042
sdk
lib
crt
stdio
find.c
Generated on Sun Oct 13 2024 06:13:48 for ReactOS by
1.9.6