2 * semaphores.h: Semaphore handles
5 * Dick Porter (dick@ximian.com)
7 * (C) 2002 Ximian, Inc.
10 #ifndef _WAPI_SEMAPHORES_H_
11 #define _WAPI_SEMAPHORES_H_
17 extern gpointer CreateSemaphore(WapiSecurityAttributes *security,
18 gint32 initial, gint32 max,
19 const gunichar2 *name);
20 extern gboolean ReleaseSemaphore(gpointer handle, gint32 count,
22 extern gpointer OpenSemaphore (guint32 access, gboolean inherit,
23 const gunichar2 *name);
26 #endif /* _WAPI_SEMAPHORES_H_ */