Added stub for SignalObjectAndWait.

This commit is contained in:
Raphael Junqueira 2004-03-17 01:43:47 +00:00 committed by Alexandre Julliard
parent 86b3056e69
commit 919605c8be
2 changed files with 14 additions and 1 deletions

View File

@ -1025,7 +1025,7 @@
@ stdcall SetThreadIdealProcessor(long long)
@ stdcall SetThreadPriorityBoost(long long)
@ stdcall SetWaitableTimer(long ptr long ptr ptr long)
@ stub SignalObjectAndWait
@ stdcall SignalObjectAndWait(long long long long)
@ stdcall SwitchToFiber(ptr)
@ stdcall SwitchToThread()
@ stdcall TryEnterCriticalSection(ptr) ntdll.RtlTryEnterCriticalSection

View File

@ -261,6 +261,19 @@ BOOL WINAPI UnregisterWaitEx( HANDLE WaitHandle, HANDLE CompletionEvent )
return FALSE;
}
/***********************************************************************
* SignalObjectAndWait (KERNEL32.@)
*
* Allows to atomically signal any of the synchro objects (semaphore,
* mutex, event) and wait on another.
*/
DWORD WINAPI SignalObjectAndWait( HANDLE hObjectToSignal, HANDLE hObjectToWaitOn, DWORD dwMilliseconds, BOOL bAlertable )
{
FIXME("(%p %p %ld %d): stub\n", hObjectToSignal, hObjectToWaitOn, dwMilliseconds, bAlertable);
return WAIT_OBJECT_0;
}
/***********************************************************************
* InitializeCriticalSection (KERNEL32.@)
*