mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 13:44:23 +08:00
[KERNEL32]
Revert r62264. Reason: all APIs set the last error when a CSR* call doesn't return STATUS_SUCCESS. If some winetests fail because of this, this is because we do not correctly do what's needed here (normally the TRUE or FALSE value is returned by the console server, and is not retrieved by a success or failure of a CSR call contrary to what's done here). svn path=/trunk/; revision=62267
This commit is contained in:
@@ -796,6 +796,7 @@ VerifyConsoleIoHandle(HANDLE Handle)
|
||||
sizeof(CONSOLE_VERIFYHANDLE));
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
BaseSetLastNTError(Status);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user