Removed check for union semun; cleaned up a bit.
[wine/multimedia.git] / include / syslevel.h
blobe0fa1d7d5a6b6167ae4105433ddac9df27e7987d
1 /*
2 * Win32 'syslevel' routines
4 * Copyright 1998 Ulrich Weigand
5 */
7 #ifndef __WINE_SYSLEVEL_H
8 #define __WINE_SYSLEVEL_H
10 #include "windef.h"
11 #include "winbase.h"
13 extern WORD SYSLEVEL_Win16CurrentTeb;
14 extern WORD SYSLEVEL_EmergencyTeb;
16 void SYSLEVEL_Init(void);
17 VOID WINAPI SYSLEVEL_EnterWin16Lock(VOID);
18 VOID WINAPI SYSLEVEL_LeaveWin16Lock(VOID);
19 VOID SYSLEVEL_ReleaseWin16Lock(VOID);
20 VOID SYSLEVEL_RestoreWin16Lock(VOID);
22 VOID WINAPI GetpWin16Lock(CRITICAL_SECTION **lock);
23 SEGPTR WINAPI GetpWin16Lock16(void);
25 VOID WINAPI _EnterSysLevel(CRITICAL_SECTION *lock);
26 VOID WINAPI _LeaveSysLevel(CRITICAL_SECTION *lock);
27 DWORD WINAPI _ConfirmWin16Lock(void);
29 VOID WINAPI ReleaseThunkLock(DWORD *mutex_count);
30 VOID WINAPI RestoreThunkLock(DWORD mutex_count);
32 #endif /* __WINE_SYSLEVEL_H */