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
d04baa29
Commit
d04baa29
authored
Jul 07, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Use IOCTL_CONDRV_GET_INPUT_INFO in CONSOLE_GetEditionMode.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eff42369
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
console.c
dlls/kernel32/console.c
+3
-9
No files found.
dlls/kernel32/console.c
View file @
d04baa29
...
...
@@ -1077,15 +1077,9 @@ unsigned CONSOLE_GetNumHistoryEntries(void)
*/
BOOL
CONSOLE_GetEditionMode
(
HANDLE
hConIn
,
int
*
mode
)
{
unsigned
ret
=
0
;
SERVER_START_REQ
(
get_console_input_info
)
{
req
->
handle
=
console_handle_unmap
(
hConIn
);
if
((
ret
=
!
wine_server_call_err
(
req
)))
*
mode
=
reply
->
edition_mode
;
}
SERVER_END_REQ
;
return
ret
;
struct
condrv_input_info
info
;
return
DeviceIoControl
(
hConIn
,
IOCTL_CONDRV_GET_INPUT_INFO
,
NULL
,
0
,
&
info
,
sizeof
(
info
),
NULL
,
NULL
)
?
info
.
edition_mode
:
0
;
}
/******************************************************************
...
...
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