mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +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:
parent
484671d6c8
commit
301809cb8d
|
@ -123,7 +123,12 @@ GetQueuedCompletionStatus(
|
||||||
|
|
||||||
if (!NT_SUCCESS(errCode) || errCode == STATUS_TIMEOUT) {
|
if (!NT_SUCCESS(errCode) || errCode == STATUS_TIMEOUT) {
|
||||||
*lpOverlapped = NULL;
|
*lpOverlapped = NULL;
|
||||||
BaseSetLastNTError(errCode);
|
|
||||||
|
if(errCode == STATUS_TIMEOUT)
|
||||||
|
SetLastError(WAIT_TIMEOUT);
|
||||||
|
else
|
||||||
|
BaseSetLastNTError(errCode);
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue