conhost: Support CTRL_C_EVENT in write_console_input.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b23ef1d836
commit
9864f9c024
|
@ -250,7 +250,14 @@ static NTSTATUS write_console_input( struct console *console, const INPUT_RECORD
|
|||
count--;
|
||||
if (records[i].Event.KeyEvent.bKeyDown)
|
||||
{
|
||||
FIXME("CTRL C\n");
|
||||
struct condrv_ctrl_event ctrl_event;
|
||||
IO_STATUS_BLOCK io;
|
||||
|
||||
ctrl_event.event = CTRL_C_EVENT;
|
||||
ctrl_event.group_id = 0;
|
||||
NtDeviceIoControlFile( console->server, NULL, NULL, NULL, &io, IOCTL_CONDRV_CTRL_EVENT,
|
||||
&ctrl_event, sizeof(ctrl_event), NULL, 0 );
|
||||
|
||||
}
|
||||
}
|
||||
else i++;
|
||||
|
|
Loading…
Reference in New Issue