Flush
[mono-project.git] / mono / io-layer / handles.h
blob7089c97d26436c0d47be452239f00f93d3e0f733
1 /*
2 * handles.h: Generic operations on handles
4 * Author:
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002 Ximian, Inc.
8 */
10 #ifndef _WAPI_HANDLES_H_
11 #define _WAPI_HANDLES_H_
13 #define INVALID_HANDLE_VALUE (gpointer)-1
15 G_BEGIN_DECLS
17 extern gboolean CloseHandle (gpointer handle);
18 extern gboolean DuplicateHandle (gpointer srcprocess, gpointer src, gpointer targetprocess, gpointer *target, guint32 access, gboolean inherit, guint32 options);
20 /* Another kludge alert! Visible non-w32 API is broken! */
21 extern void _wapi_cleanup (void);
23 G_END_DECLS
25 #endif /* _WAPI_HANDLES_H_ */