Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
dce5b9ad
Commit
dce5b9ad
authored
Jul 14, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Use IOCTL_CONDRV_FILL_OUTPUT in CONSOLE_FillLineUniform.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a07aa965
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
13 deletions
+10
-13
console.c
dlls/kernel32/console.c
+10
-13
No files found.
dlls/kernel32/console.c
View file @
dce5b9ad
...
...
@@ -947,19 +947,16 @@ BOOL WINAPI WriteConsoleW(HANDLE hConsoleOutput, LPCVOID lpBuffer, DWORD nNumber
*/
void
CONSOLE_FillLineUniform
(
HANDLE
hConsoleOutput
,
int
i
,
int
j
,
int
len
,
LPCHAR_INFO
lpFill
)
{
SERVER_START_REQ
(
fill_console_output
)
{
req
->
handle
=
console_handle_unmap
(
hConsoleOutput
);
req
->
mode
=
CHAR_INFO_MODE_TEXTATTR
;
req
->
x
=
i
;
req
->
y
=
j
;
req
->
count
=
len
;
req
->
wrap
=
FALSE
;
req
->
data
.
ch
=
lpFill
->
Char
.
UnicodeChar
;
req
->
data
.
attr
=
lpFill
->
Attributes
;
wine_server_call_err
(
req
);
}
SERVER_END_REQ
;
struct
condrv_fill_output_params
params
;
params
.
mode
=
CHAR_INFO_MODE_TEXTATTR
;
params
.
x
=
i
;
params
.
y
=
j
;
params
.
count
=
len
;
params
.
wrap
=
FALSE
;
params
.
ch
=
lpFill
->
Char
.
UnicodeChar
;
params
.
attr
=
lpFill
->
Attributes
;
DeviceIoControl
(
hConsoleOutput
,
IOCTL_CONDRV_FILL_OUTPUT
,
&
params
,
sizeof
(
params
),
NULL
,
0
,
NULL
,
NULL
);
}
/******************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment