mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 14:50:48 +00:00
a396029270
standard Windows names.
31 lines
760 B
C
31 lines
760 B
C
/*
|
|
* Win32 'syslevel' routines
|
|
*
|
|
* Copyright 1998 Ulrich Weigand
|
|
*/
|
|
|
|
#ifndef __WINE_SYSLEVEL_H
|
|
#define __WINE_SYSLEVEL_H
|
|
|
|
#include "wintypes.h"
|
|
#include "winbase.h"
|
|
|
|
extern WORD SYSLEVEL_Win16CurrentTeb;
|
|
extern WORD SYSLEVEL_EmergencyTeb;
|
|
|
|
void SYSLEVEL_Init(void);
|
|
VOID WINAPI SYSLEVEL_EnterWin16Lock(VOID);
|
|
VOID WINAPI SYSLEVEL_LeaveWin16Lock(VOID);
|
|
VOID SYSLEVEL_ReleaseWin16Lock(VOID);
|
|
VOID SYSLEVEL_RestoreWin16Lock(VOID);
|
|
|
|
VOID WINAPI GetpWin16Lock(CRITICAL_SECTION **lock);
|
|
SEGPTR WINAPI GetpWin16Lock16(void);
|
|
|
|
VOID WINAPI _EnterSysLevel(CRITICAL_SECTION *lock);
|
|
VOID WINAPI _LeaveSysLevel(CRITICAL_SECTION *lock);
|
|
|
|
VOID WINAPI ReleaseThunkLock(DWORD *mutex_count);
|
|
VOID WINAPI RestoreThunkLock(DWORD mutex_count);
|
|
|
|
#endif /* __WINE_SYSLEVEL_H */
|