Commit b18d32cf authored by Martin Wilck's avatar Martin Wilck Committed by Alexandre Julliard

Wait timeout must be 0 if bWait == FALSE.

parent f264bd32
......@@ -1568,7 +1568,7 @@ BOOL WINAPI GetOverlappedResult(
it may be a non-manual reset event. */
do {
TRACE("waiting on %p\n",lpOverlapped);
r = WaitForSingleObjectEx(lpOverlapped->hEvent, INFINITE, TRUE);
r = WaitForSingleObjectEx(lpOverlapped->hEvent, 0, TRUE);
TRACE("wait on %p returned %ld\n",lpOverlapped,r);
} while (r==STATUS_USER_APC);
if ( r == WAIT_OBJECT_0 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment