Commit d7e831c1 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

conhost: Remove no longer needed CHAR_INFO_MODE_TEXTSTDATTR.

parent bed3b61b
...@@ -115,7 +115,6 @@ enum char_info_mode ...@@ -115,7 +115,6 @@ enum char_info_mode
CHAR_INFO_MODE_TEXT, /* characters only */ CHAR_INFO_MODE_TEXT, /* characters only */
CHAR_INFO_MODE_ATTR, /* attributes only */ CHAR_INFO_MODE_ATTR, /* attributes only */
CHAR_INFO_MODE_TEXTATTR, /* both characters and attributes */ CHAR_INFO_MODE_TEXTATTR, /* both characters and attributes */
CHAR_INFO_MODE_TEXTSTDATTR, /* characters but use standard attributes */
}; };
/* IOCTL_CONDRV_GET_OUTPUT_INFO result */ /* IOCTL_CONDRV_GET_OUTPUT_INFO result */
......
...@@ -1963,10 +1963,6 @@ static NTSTATUS write_output( struct screen_buffer *screen_buffer, const struct ...@@ -1963,10 +1963,6 @@ static NTSTATUS write_output( struct screen_buffer *screen_buffer, const struct
case CHAR_INFO_MODE_TEXTATTR: case CHAR_INFO_MODE_TEXTATTR:
*dest = *(const char_info_t *)src; *dest = *(const char_info_t *)src;
break; break;
case CHAR_INFO_MODE_TEXTSTDATTR:
dest->ch = *(const WCHAR *)src;
dest->attr = screen_buffer->attr;
break;
default: default:
return STATUS_INVALID_PARAMETER; return STATUS_INVALID_PARAMETER;
} }
...@@ -2131,13 +2127,6 @@ static NTSTATUS fill_output( struct screen_buffer *screen_buffer, const struct c ...@@ -2131,13 +2127,6 @@ static NTSTATUS fill_output( struct screen_buffer *screen_buffer, const struct c
dest[i].attr = params->attr; dest[i].attr = params->attr;
} }
break; 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: default:
return STATUS_INVALID_PARAMETER; return STATUS_INVALID_PARAMETER;
} }
......
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