mirror of
https://github.com/reactos/reactos.git
synced 2024-10-23 22:40:47 +00:00
- fix wait functions for console handles
- bug 3273 svn path=/trunk/; revision=33687
This commit is contained in:
parent
73e46408e9
commit
cdc5cb8cf5
|
@ -66,7 +66,7 @@ WaitForSingleObjectEx(IN HANDLE hHandle,
|
|||
}
|
||||
|
||||
/* Check for console handle */
|
||||
if ((IsConsoleHandle(hHandle)) && (!VerifyConsoleIoHandle(hHandle)))
|
||||
if ((IsConsoleHandle(hHandle)) && (VerifyConsoleIoHandle(hHandle)))
|
||||
{
|
||||
/* Get the real wait handle */
|
||||
hHandle = GetConsoleInputWaitHandle();
|
||||
|
@ -186,7 +186,7 @@ WaitForMultipleObjectsEx(IN DWORD nCount,
|
|||
|
||||
/* Check for console handle */
|
||||
if ((IsConsoleHandle(HandleBuffer[i])) &&
|
||||
(!VerifyConsoleIoHandle(HandleBuffer[i])))
|
||||
(VerifyConsoleIoHandle(HandleBuffer[i])))
|
||||
{
|
||||
/* Get the real wait handle */
|
||||
HandleBuffer[i] = GetConsoleInputWaitHandle();
|
||||
|
@ -278,7 +278,7 @@ SignalObjectAndWait(IN HANDLE hObjectToSignal,
|
|||
|
||||
/* Check for console handle */
|
||||
if ((IsConsoleHandle(hObjectToWaitOn)) &&
|
||||
(!VerifyConsoleIoHandle(hObjectToWaitOn)))
|
||||
(VerifyConsoleIoHandle(hObjectToWaitOn)))
|
||||
{
|
||||
/* Get the real wait handle */
|
||||
hObjectToWaitOn = GetConsoleInputWaitHandle();
|
||||
|
|
Loading…
Reference in a new issue