mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
[KERNEL32]
- Fix error status of GetQueuedCompletionStatus, which should set the error to WAIT_TIMEOUT - Fixes 4 failing winetests - Patch by Samuel Serapion (samcharly_hotmail_com) See issue #6907 for more details. svn path=/trunk/; revision=55673
This commit is contained in:
@@ -123,7 +123,12 @@ GetQueuedCompletionStatus(
|
||||
|
||||
if (!NT_SUCCESS(errCode) || errCode == STATUS_TIMEOUT) {
|
||||
*lpOverlapped = NULL;
|
||||
BaseSetLastNTError(errCode);
|
||||
|
||||
if(errCode == STATUS_TIMEOUT)
|
||||
SetLastError(WAIT_TIMEOUT);
|
||||
else
|
||||
BaseSetLastNTError(errCode);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user