Release 980822
[wine/multimedia.git] / include / syslevel.h
blobe1510758ea4e67ae74cf86a67525ae4122ba3860
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;
15 void SYSLEVEL_Init(void);
16 VOID SYSLEVEL_EnterWin16Lock(VOID);
17 VOID SYSLEVEL_LeaveWin16Lock(VOID);
18 VOID SYSLEVEL_ReleaseWin16Lock(VOID);
19 VOID SYSLEVEL_RestoreWin16Lock(VOID);
21 VOID WINAPI GetpWin16Lock32(CRITICAL_SECTION **lock);
22 SEGPTR WINAPI GetpWin16Lock16(void);
24 VOID WINAPI _EnterSysLevel(CRITICAL_SECTION *lock);
25 VOID WINAPI _LeaveSysLevel(CRITICAL_SECTION *lock);
27 VOID WINAPI ReleaseThunkLock(DWORD *mutex_count);
28 VOID WINAPI RestoreThunkLock(DWORD mutex_count);
30 #endif /* __WINE_SYSLEVEL_H */