Commit 9864f9c0 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

conhost: Support CTRL_C_EVENT in write_console_input.

parent b23ef1d8
...@@ -250,7 +250,14 @@ static NTSTATUS write_console_input( struct console *console, const INPUT_RECORD ...@@ -250,7 +250,14 @@ static NTSTATUS write_console_input( struct console *console, const INPUT_RECORD
count--; count--;
if (records[i].Event.KeyEvent.bKeyDown) 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++; else i++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment