[io-layer] Remove DuplicateHandle
[mono-project.git] / mono / io-layer / wapi.h
blob8a7ef1f77daa6a2600f919220a45bc2b0c268cb2
1 /*
2 * wapi.h: Public include files
4 * Author:
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002 Ximian, Inc.
8 */
10 #ifndef _WAPI_WAPI_H_
11 #define _WAPI_WAPI_H_
13 #include <glib.h>
15 #include <sys/types.h>
17 #include <mono/io-layer/wapi-remap.h>
18 #include <mono/io-layer/types.h>
19 #include <mono/io-layer/macros.h>
20 #include <mono/io-layer/io.h>
21 #include <mono/io-layer/error.h>
22 #include <mono/io-layer/messages.h>
23 #include <mono/io-layer/security.h>
24 #include <mono/io-layer/sockets.h>
25 #include <mono/io-layer/status.h>
26 #include <mono/io-layer/timefuncs.h>
27 #include <mono/io-layer/versioninfo.h>
29 G_BEGIN_DECLS
31 #define WAIT_FAILED 0xFFFFFFFF
32 #define WAIT_OBJECT_0 ((STATUS_WAIT_0) +0)
33 #define WAIT_ABANDONED ((STATUS_ABANDONED_WAIT_0) +0)
34 #define WAIT_ABANDONED_0 ((STATUS_ABANDONED_WAIT_0) +0)
35 #define WAIT_TIMEOUT STATUS_TIMEOUT
36 #define WAIT_IO_COMPLETION STATUS_USER_APC
38 void
39 wapi_init (void);
41 void
42 wapi_cleanup (void);
44 gboolean
45 CloseHandle (gpointer handle);
47 pid_t
48 wapi_getpid (void);
50 G_END_DECLS
52 #endif /* _WAPI_WAPI_H_ */