X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fio-layer%2Fwapi.h;h=65c98a4a584053360610b627e044d9715968baeb;hb=863ddf25bfb4e88db7225dd4968a4403840c42af;hp=4e0a688063984ad671543a10f51a4bc2d27290c7;hpb=ca43f903c21aff800bb01ecd23e7716a09fd6f95;p=mono.git diff --git a/mono/io-layer/wapi.h b/mono/io-layer/wapi.h index 4e0a6880639..65c98a4a584 100644 --- a/mono/io-layer/wapi.h +++ b/mono/io-layer/wapi.h @@ -10,24 +10,23 @@ #ifndef _WAPI_WAPI_H_ #define _WAPI_WAPI_H_ +#include + +#include + #include -#include -#include #include -#include -#include +#include #include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include + +G_BEGIN_DECLS + +#define WAIT_FAILED ((int) 0xFFFFFFFF) +#define WAIT_OBJECT_0 ((int) 0x00000000) +#define WAIT_ABANDONED_0 ((int) 0x00000080) +#define WAIT_TIMEOUT ((int) 0x00000102) +#define WAIT_IO_COMPLETION ((int) 0x000000C0) void wapi_init (void); @@ -38,11 +37,9 @@ wapi_cleanup (void); gboolean CloseHandle (gpointer handle); -gboolean -DuplicateHandle (gpointer srcprocess, gpointer src, gpointer targetprocess, gpointer *target, - guint32 access G_GNUC_UNUSED, gboolean inherit G_GNUC_UNUSED, guint32 options G_GNUC_UNUSED); - pid_t wapi_getpid (void); +G_END_DECLS + #endif /* _WAPI_WAPI_H_ */