conhost: Remove no longer needed CHAR_INFO_MODE_TEXTSTDATTR.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-10-14 19:58:17 +02:00 committed by Alexandre Julliard
parent bed3b61b49
commit d7e831c112
2 changed files with 0 additions and 12 deletions

View File

@ -115,7 +115,6 @@ enum char_info_mode
CHAR_INFO_MODE_TEXT, /* characters only */
CHAR_INFO_MODE_ATTR, /* attributes only */
CHAR_INFO_MODE_TEXTATTR, /* both characters and attributes */
CHAR_INFO_MODE_TEXTSTDATTR, /* characters but use standard attributes */
};
/* IOCTL_CONDRV_GET_OUTPUT_INFO result */

View File

@ -1963,10 +1963,6 @@ static NTSTATUS write_output( struct screen_buffer *screen_buffer, const struct
case CHAR_INFO_MODE_TEXTATTR:
*dest = *(const char_info_t *)src;
break;
case CHAR_INFO_MODE_TEXTSTDATTR:
dest->ch = *(const WCHAR *)src;
dest->attr = screen_buffer->attr;
break;
default:
return STATUS_INVALID_PARAMETER;
}
@ -2131,13 +2127,6 @@ static NTSTATUS fill_output( struct screen_buffer *screen_buffer, const struct c
dest[i].attr = params->attr;
}
break;
case CHAR_INFO_MODE_TEXTSTDATTR:
for (i = 0; i < count; i++)
{
dest[i].ch = params->ch;
dest[i].attr = screen_buffer->attr;
}
break;
default:
return STATUS_INVALID_PARAMETER;
}