2 * handles.h: Generic operations on handles
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002 Ximian, Inc.
10 #ifndef _WAPI_HANDLES_H_
11 #define _WAPI_HANDLES_H_
13 #define INVALID_HANDLE_VALUE (gpointer)-1
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);
25 #endif /* _WAPI_HANDLES_H_ */