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