Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
12411935
Commit
12411935
authored
Sep 16, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Sep 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Register GUID_DEVINTERFACE_MONITOR interface for monitors.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6d290cf2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
display.c
dlls/winex11.drv/display.c
+7
-0
No files found.
dlls/winex11.drv/display.c
View file @
12411935
...
@@ -665,6 +665,13 @@ static BOOL X11DRV_InitMonitor(HDEVINFO devinfo, const struct x11drv_monitor *mo
...
@@ -665,6 +665,13 @@ static BOOL X11DRV_InitMonitor(HDEVINFO devinfo, const struct x11drv_monitor *mo
if
(
!
SetupDiRegisterDeviceInfo
(
devinfo
,
&
device_data
,
0
,
NULL
,
NULL
,
NULL
))
if
(
!
SetupDiRegisterDeviceInfo
(
devinfo
,
&
device_data
,
0
,
NULL
,
NULL
,
NULL
))
goto
done
;
goto
done
;
/* Register GUID_DEVINTERFACE_MONITOR */
if
(
!
SetupDiCreateDeviceInterfaceW
(
devinfo
,
&
device_data
,
&
GUID_DEVINTERFACE_MONITOR
,
NULL
,
0
,
NULL
))
goto
done
;
if
(
!
link_device
(
bufferW
,
&
GUID_DEVINTERFACE_MONITOR
))
goto
done
;
/* Write HardwareID registry property */
/* Write HardwareID registry property */
if
(
!
SetupDiSetDeviceRegistryPropertyW
(
devinfo
,
&
device_data
,
SPDRP_HARDWAREID
,
if
(
!
SetupDiSetDeviceRegistryPropertyW
(
devinfo
,
&
device_data
,
SPDRP_HARDWAREID
,
(
const
BYTE
*
)
monitor_hardware_idW
,
sizeof
(
monitor_hardware_idW
)))
(
const
BYTE
*
)
monitor_hardware_idW
,
sizeof
(
monitor_hardware_idW
)))
...
...
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