mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
[KERNEL32]
Further correct 4 console winetests. svn path=/branches/ros-csrss/; revision=58449
This commit is contained in:
parent
7268b8776a
commit
fa34f9c8ee
|
@ -501,12 +501,6 @@ IntWriteConsoleInput(HANDLE hConsoleInput,
|
|||
PCSR_CAPTURE_BUFFER CaptureBuffer;
|
||||
DWORD Size;
|
||||
|
||||
if (lpBuffer == NULL)
|
||||
{
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Size = nLength * sizeof(INPUT_RECORD);
|
||||
|
||||
DPRINT("IntWriteConsoleInput: %lx %p\n", Size, lpNumberOfEventsWritten);
|
||||
|
@ -583,6 +577,13 @@ IntWriteConsoleOutput(HANDLE hConsoleOutput,
|
|||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
/*
|
||||
if (lpWriteRegion == NULL)
|
||||
{
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
*/
|
||||
|
||||
Size = dwBufferSize.Y * dwBufferSize.X * sizeof(CHAR_INFO);
|
||||
|
||||
|
|
Loading…
Reference in a new issue