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
440e31a7
Commit
440e31a7
authored
Jul 14, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Use IOCTL_CONDRV_FILL_OUTPUT in FillConsoleOutputAttribute.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bf6a803e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
14 deletions
+11
-14
console.c
dlls/kernelbase/console.c
+11
-14
No files found.
dlls/kernelbase/console.c
View file @
440e31a7
...
...
@@ -400,7 +400,7 @@ DWORD WINAPI CtrlRoutine( void *arg )
BOOL
WINAPI
DECLSPEC_HOTPATCH
FillConsoleOutputAttribute
(
HANDLE
handle
,
WORD
attr
,
DWORD
length
,
COORD
coord
,
DWORD
*
written
)
{
BOOL
ret
;
struct
condrv_fill_output_params
params
;
TRACE
(
"(%p,%d,%d,(%dx%d),%p)
\n
"
,
handle
,
attr
,
length
,
coord
.
X
,
coord
.
Y
,
written
);
...
...
@@ -411,19 +411,16 @@ BOOL WINAPI DECLSPEC_HOTPATCH FillConsoleOutputAttribute( HANDLE handle, WORD at
}
*
written
=
0
;
SERVER_START_REQ
(
fill_console_output
)
{
req
->
handle
=
console_handle_unmap
(
handle
);
req
->
x
=
coord
.
X
;
req
->
y
=
coord
.
Y
;
req
->
mode
=
CHAR_INFO_MODE_ATTR
;
req
->
wrap
=
TRUE
;
req
->
data
.
attr
=
attr
;
req
->
count
=
length
;
if
((
ret
=
!
wine_server_call_err
(
req
)))
*
written
=
reply
->
written
;
}
SERVER_END_REQ
;
return
ret
;
params
.
mode
=
CHAR_INFO_MODE_ATTR
;
params
.
x
=
coord
.
X
;
params
.
y
=
coord
.
Y
;
params
.
count
=
length
;
params
.
wrap
=
TRUE
;
params
.
ch
=
0
;
params
.
attr
=
attr
;
return
console_ioctl
(
handle
,
IOCTL_CONDRV_FILL_OUTPUT
,
&
params
,
sizeof
(
params
),
written
,
sizeof
(
written
),
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