32-bit clipboard support.
[wine/multimedia.git] / include / syslevel.h
blobaad7a054f00d9d20932bdf57a8c50df52796d347
1 /*
2 * Win32 'syslevel' routines
4 * Copyright 1998 Ulrich Weigand
5 */
7 #ifndef __WINE_SYSLEVEL_H
8 #define __WINE_SYSLEVEL_H
10 #include "wintypes.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 GetpWin16Lock32(CRITICAL_SECTION **lock);
23 SEGPTR WINAPI GetpWin16Lock16(void);
25 VOID WINAPI _EnterSysLevel(CRITICAL_SECTION *lock);
26 VOID WINAPI _LeaveSysLevel(CRITICAL_SECTION *lock);
28 VOID WINAPI ReleaseThunkLock(DWORD *mutex_count);
29 VOID WINAPI RestoreThunkLock(DWORD mutex_count);
31 #endif /* __WINE_SYSLEVEL_H */