conhost: Remove no longer needed condrv_input_info fields.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ef2e281dc2
commit
e909986e6e
|
@ -82,10 +82,6 @@ struct condrv_input_info
|
|||
{
|
||||
unsigned int input_cp; /* console input codepage */
|
||||
unsigned int output_cp; /* console output codepage */
|
||||
unsigned int history_mode; /* whether we duplicate lines in history */
|
||||
unsigned int history_size; /* number of lines in history */
|
||||
unsigned int history_index; /* number of used lines in history */
|
||||
unsigned int edition_mode; /* index to the edition mode flavors */
|
||||
unsigned int input_count; /* number of available input records */
|
||||
condrv_handle_t win; /* renderer window handle */
|
||||
};
|
||||
|
|
|
@ -2396,14 +2396,10 @@ static NTSTATUS console_input_ioctl( struct console *console, unsigned int code,
|
|||
TRACE( "get info\n" );
|
||||
if (in_size || *out_size != sizeof(*info)) return STATUS_INVALID_PARAMETER;
|
||||
if (!(info = alloc_ioctl_buffer( sizeof(*info )))) return STATUS_NO_MEMORY;
|
||||
info->history_mode = console->history_mode;
|
||||
info->history_size = console->history_size;
|
||||
info->history_index = console->history_index;
|
||||
info->edition_mode = console->edition_mode;
|
||||
info->input_cp = console->input_cp;
|
||||
info->output_cp = console->output_cp;
|
||||
info->win = condrv_handle( console->win );
|
||||
info->input_count = console->record_count;
|
||||
info->input_cp = console->input_cp;
|
||||
info->output_cp = console->output_cp;
|
||||
info->win = condrv_handle( console->win );
|
||||
info->input_count = console->record_count;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue