2 * Win32 'syslevel' routines
4 * Copyright 1998 Ulrich Weigand
7 #ifndef __WINE_SYSLEVEL_H
8 #define __WINE_SYSLEVEL_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
);
28 VOID WINAPI
ReleaseThunkLock(DWORD
*mutex_count
);
29 VOID WINAPI
RestoreThunkLock(DWORD mutex_count
);
31 #endif /* __WINE_SYSLEVEL_H */