[KERNEL32]

Further correct 4 console winetests.

svn path=/branches/ros-csrss/; revision=58449
This commit is contained in:
Hermès Bélusca-Maïto 2013-03-09 14:18:10 +00:00
parent 7268b8776a
commit fa34f9c8ee

View file

@ -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);