Merge pull request #4152 from BrzVlad/misc-gc-altstack
[mono-project.git] / mono / io-layer / wapi.h
blob65c98a4a584053360610b627e044d9715968baeb
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/io.h>
19 #include <mono/io-layer/io-portability.h>
20 #include <mono/io-layer/error.h>
21 #include <mono/io-layer/sockets.h>
23 G_BEGIN_DECLS
25 #define WAIT_FAILED ((int) 0xFFFFFFFF)
26 #define WAIT_OBJECT_0 ((int) 0x00000000)
27 #define WAIT_ABANDONED_0 ((int) 0x00000080)
28 #define WAIT_TIMEOUT ((int) 0x00000102)
29 #define WAIT_IO_COMPLETION ((int) 0x000000C0)
31 void
32 wapi_init (void);
34 void
35 wapi_cleanup (void);
37 gboolean
38 CloseHandle (gpointer handle);
40 pid_t
41 wapi_getpid (void);
43 G_END_DECLS
45 #endif /* _WAPI_WAPI_H_ */