mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[KERNEL32]
Further correct 4 console winetests. svn path=/branches/ros-csrss/; revision=58449
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user