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
f7a7633a
Commit
f7a7633a
authored
Jul 10, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Use IOCTL_CONDRV_SET_OUTPUT_INFO in SetConsoleScreenBufferSize.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b21d2e5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
console.c
dlls/kernelbase/console.c
+5
-11
No files found.
dlls/kernelbase/console.c
View file @
f7a7633a
...
@@ -1357,19 +1357,13 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleScreenBufferInfoEx( HANDLE handle,
...
@@ -1357,19 +1357,13 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleScreenBufferInfoEx( HANDLE handle,
*/
*/
BOOL
WINAPI
DECLSPEC_HOTPATCH
SetConsoleScreenBufferSize
(
HANDLE
handle
,
COORD
size
)
BOOL
WINAPI
DECLSPEC_HOTPATCH
SetConsoleScreenBufferSize
(
HANDLE
handle
,
COORD
size
)
{
{
BOOL
ret
;
struct
condrv_output_info_params
params
=
{
SET_CONSOLE_OUTPUT_INFO_SIZE
}
;
TRACE
(
"(%p,(%d,%d))
\n
"
,
handle
,
size
.
X
,
size
.
Y
);
TRACE
(
"(%p,(%d,%d))
\n
"
,
handle
,
size
.
X
,
size
.
Y
);
SERVER_START_REQ
(
set_console_output_info
)
{
params
.
info
.
width
=
size
.
X
;
req
->
handle
=
console_handle_unmap
(
handle
);
params
.
info
.
height
=
size
.
Y
;
req
->
width
=
size
.
X
;
return
console_ioctl
(
handle
,
IOCTL_CONDRV_SET_OUTPUT_INFO
,
&
params
,
sizeof
(
params
),
NULL
,
0
,
NULL
);
req
->
height
=
size
.
Y
;
req
->
mask
=
SET_CONSOLE_OUTPUT_INFO_SIZE
;
ret
=
!
wine_server_call_err
(
req
);
}
SERVER_END_REQ
;
return
ret
;
}
}
...
...
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