wine.inf: Add WineHID to the CriticalDeviceDatabase.

Sebastian Lackner sebastian at fds-team.de
Thu Oct 13 23:40:59 CDT 2016


From: Aric Stewart <aric at codeweavers.com>

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

@ Aric: Do you think it is fine to add that now, or should we wait a bit more?
  My feeling is that it will be difficult to test the functionality when users
  have to add this key manually (in addition to "net start WineBus"). I'm
  aware that a lot of things do not work yet (current Wine git seems to be
  stuck in an endless flood of FIXMEs).

 loader/wine.inf.in |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index fcf9c4a..991857e 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -35,6 +35,7 @@ AddReg=\
     Classes,\
     ContentIndex,\
     ControlClass,\
+    CriticalDevice,\
     CurrentVersion,\
     Debugger,\
     DirectX,\
@@ -59,6 +60,7 @@ AddReg=\
     Classes,\
     ContentIndex,\
     ControlClass,\
+    CriticalDevice,\
     CurrentVersion,\
     Debugger,\
     DirectX,\
@@ -85,6 +87,7 @@ AddReg=\
     Classes,\
     ContentIndex,\
     ControlClass,\
+    CriticalDevice,\
     CurrentVersion,\
     CurrentVersionWow64,\
     Debugger,\
@@ -466,6 +469,9 @@ HKLM,System\CurrentControlSet\Control\Class\{6bdd1fc6-810f-11d0-bec7-08002be2092
 HKLM,System\CurrentControlSet\Control\Class\{745a17a0-74d3-11d0-b6fe-00a0c90f57da},,,"Human Interface Devices"
 HKLM,System\CurrentControlSet\Control\Class\{745a17a0-74d3-11d0-b6fe-00a0c90f57da},"Class",,"HIDClass"
 
+[CriticalDevice]
+HKLM,System\CurrentControlSet\Control\CriticalDeviceDatabase\HIDRAW,"Service",,"WineHID"
+
 [CurrentVersion]
 HKCU,%CurrentVersion%\Run,,16
 HKLM,%CurrentVersion%,"CommonFilesDir",,"%16427%"
-- 
2.9.0



More information about the wine-patches mailing list