Implemented _ConfirmWin16Lock (KERNEL32.96).

This commit is contained in:
Ulrich Weigand 1999-03-10 16:25:22 +00:00 committed by Alexandre Julliard
parent 19cf14f5e8
commit 3366f18464
2 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,7 @@ SEGPTR WINAPI GetpWin16Lock16(void);
VOID WINAPI _EnterSysLevel(CRITICAL_SECTION *lock); VOID WINAPI _EnterSysLevel(CRITICAL_SECTION *lock);
VOID WINAPI _LeaveSysLevel(CRITICAL_SECTION *lock); VOID WINAPI _LeaveSysLevel(CRITICAL_SECTION *lock);
DWORD WINAPI _ConfirmWin16Lock(void);
VOID WINAPI ReleaseThunkLock(DWORD *mutex_count); VOID WINAPI ReleaseThunkLock(DWORD *mutex_count);
VOID WINAPI RestoreThunkLock(DWORD mutex_count); VOID WINAPI RestoreThunkLock(DWORD mutex_count);

View File

@ -123,8 +123,10 @@ VOID WINAPI _ConfirmSysLevel(CRITICAL_SECTION *lock)
*/ */
DWORD WINAPI _ConfirmWin16Lock(void) DWORD WINAPI _ConfirmWin16Lock(void)
{ {
FIXME(win32, "()\n"); if ( Win16Mutex.OwningThread == GetCurrentThreadId() )
return 1; return Win16Mutex.RecursionCount;
else
return 0L;
} }
/************************************************************************ /************************************************************************