Merge pull request #1322 from StephenMcConnel/bug23532
[mono.git] / mono / io-layer / handles.h
1 /*
2  * handles.h:  Generic operations on handles
3  *
4  * Author:
5  *      Dick Porter (dick@ximian.com)
6  *
7  * (C) 2002 Ximian, Inc.
8  */
9
10 #ifndef _WAPI_HANDLES_H_
11 #define _WAPI_HANDLES_H_
12
13 #define INVALID_HANDLE_VALUE (gpointer)-1
14
15 G_BEGIN_DECLS
16
17 extern gboolean CloseHandle (gpointer handle);
18 extern gboolean DuplicateHandle (gpointer srcprocess, gpointer src, gpointer targetprocess, gpointer *target, guint32 access, gboolean inherit, guint32 options);
19
20 extern void wapi_init (void);
21 extern void wapi_cleanup (void);
22
23 int wapi_getdtablesize (void);
24
25 G_END_DECLS
26
27 #endif /* _WAPI_HANDLES_H_ */