mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
WaitForMultipleObjectsEx passed WaitAny for WaitAll waits and vice versa
svn path=/trunk/; revision=4207
This commit is contained in:
parent
dd41cf2e27
commit
d295bac408
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: wait.c,v 1.19 2003/01/15 21:24:36 chorns Exp $
|
/* $Id: wait.c,v 1.20 2003/02/27 15:40:46 gdalsnes Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -74,7 +74,7 @@ WaitForMultipleObjects(DWORD nCount,
|
||||||
{
|
{
|
||||||
return WaitForMultipleObjectsEx(nCount,
|
return WaitForMultipleObjectsEx(nCount,
|
||||||
lpHandles,
|
lpHandles,
|
||||||
bWaitAll ? WaitAll : WaitAny,
|
bWaitAll,
|
||||||
dwMilliseconds,
|
dwMilliseconds,
|
||||||
FALSE);
|
FALSE);
|
||||||
}
|
}
|
||||||
|
@ -105,7 +105,7 @@ WaitForMultipleObjectsEx(DWORD nCount,
|
||||||
|
|
||||||
errCode = NtWaitForMultipleObjects (nCount,
|
errCode = NtWaitForMultipleObjects (nCount,
|
||||||
(PHANDLE)lpHandles,
|
(PHANDLE)lpHandles,
|
||||||
(CINT)bWaitAll,
|
bWaitAll ? WaitAll : WaitAny,
|
||||||
(BOOLEAN)bAlertable,
|
(BOOLEAN)bAlertable,
|
||||||
TimePtr);
|
TimePtr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue