[PATCH 4/4] hidclass.sys: No longer set the DEVPROPKEY_HID_HANDLE property.
Zebediah Figura
zfigura at codeweavers.com
Mon Jun 6 13:53:32 CDT 2022
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
dlls/hidclass.sys/pnp.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/dlls/hidclass.sys/pnp.c b/dlls/hidclass.sys/pnp.c
index cc4e3b96c82..873c55c4a67 100644
--- a/dlls/hidclass.sys/pnp.c
+++ b/dlls/hidclass.sys/pnp.c
@@ -24,7 +24,6 @@
#include "initguid.h"
#include "hid.h"
#include "devguid.h"
-#include "devpkey.h"
#include "ntddmou.h"
#include "ntddkbd.h"
#include "ddk/hidtypes.h"
@@ -37,7 +36,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(hid);
-DEFINE_DEVPROPKEY(DEVPROPKEY_HID_HANDLE, 0xbc62e415, 0xf4fe, 0x405c, 0x8e, 0xda, 0x63, 0x6f, 0xb5, 0x9f, 0x08, 0x98, 2);
DEFINE_GUID(GUID_DEVINTERFACE_WINEXINPUT, 0x6c53d5fd, 0x6480, 0x440f, 0xb6, 0x18, 0x47, 0x67, 0x50, 0xc5, 0xe1, 0xa6);
#ifdef __ASM_USE_FASTCALL_WRAPPER
@@ -286,15 +284,6 @@ static void create_child(minidriver *minidriver, DEVICE_OBJECT *fdo)
IoInvalidateDeviceRelations(fdo_ext->u.fdo.hid_ext.PhysicalDeviceObject, BusRelations);
- if ((status = IoSetDevicePropertyData(child_pdo, &DEVPROPKEY_HID_HANDLE, LOCALE_NEUTRAL,
- PLUGPLAY_PROPERTY_PERSISTENT, DEVPROP_TYPE_UINT32,
- sizeof(pdo_ext->u.pdo.rawinput_handle), &pdo_ext->u.pdo.rawinput_handle)))
- {
- ERR( "Failed to set device handle property, status %#lx\n", status );
- IoDeleteDevice(child_pdo);
- return;
- }
-
pdo_ext->u.pdo.poll_interval = DEFAULT_POLL_INTERVAL;
HID_StartDeviceThread(child_pdo);
--
2.35.1
More information about the wine-devel
mailing list