kernelbase: Fix console ioctl output sizes.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
50d71bb7d2
commit
4f3534fa6f
|
@ -434,7 +434,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH FillConsoleOutputAttribute( HANDLE handle, WORD at
|
|||
params.ch = 0;
|
||||
params.attr = attr;
|
||||
return console_ioctl( handle, IOCTL_CONDRV_FILL_OUTPUT, ¶ms, sizeof(params),
|
||||
written, sizeof(written), NULL );
|
||||
written, sizeof(*written), NULL );
|
||||
}
|
||||
|
||||
|
||||
|
@ -477,7 +477,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH FillConsoleOutputCharacterW( HANDLE handle, WCHAR
|
|||
params.ch = ch;
|
||||
params.attr = 0;
|
||||
return console_ioctl( handle, IOCTL_CONDRV_FILL_OUTPUT, ¶ms, sizeof(params),
|
||||
written, sizeof(written), NULL );
|
||||
written, sizeof(*written), NULL );
|
||||
}
|
||||
|
||||
HANDLE get_console_wait_handle( HANDLE handle )
|
||||
|
|
Loading…
Reference in New Issue