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
96c5109a
Commit
96c5109a
authored
Jul 20, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineconsole: Use IOCTL_CONDRV_SET_INPUT_INFO in WINECON_SetEditionMode.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bd12ec5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
wineconsole.c
programs/wineconsole/wineconsole.c
+3
-11
No files found.
programs/wineconsole/wineconsole.c
View file @
96c5109a
...
...
@@ -173,17 +173,9 @@ BOOL WINECON_GetConsoleTitle(HANDLE hConIn, WCHAR* buffer, size_t len)
*/
static
BOOL
WINECON_SetEditionMode
(
HANDLE
hConIn
,
int
edition_mode
)
{
BOOL
ret
;
SERVER_START_REQ
(
set_console_input_info
)
{
req
->
handle
=
wine_server_obj_handle
(
hConIn
);
req
->
mask
=
SET_CONSOLE_INPUT_INFO_EDITION_MODE
;
req
->
edition_mode
=
edition_mode
;
ret
=
!
wine_server_call_err
(
req
);
}
SERVER_END_REQ
;
return
ret
;
struct
condrv_input_info_params
params
=
{
SET_CONSOLE_INPUT_INFO_EDITION_MODE
};
params
.
info
.
edition_mode
=
edition_mode
;
return
DeviceIoControl
(
hConIn
,
IOCTL_CONDRV_SET_INPUT_INFO
,
&
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