Sweden-Number/dlls/hidclass.sys
Rémi Bernon af2b2d0433 hidclass.sys: Call IoInvalidateDeviceRelations before IoSetDevicePropertyData.
Otherwise setupapi may fail to find the device on which to set the
property. This triggers messages like the following the first time a
device is created (on prefix creation for mouse and keyboard devices):

  IoSetDevicePropertyData Failed to open device, error 0xe000020b.

Some IoSetDevicePropertyData implementation detail makes it always
return successfully but it's not doing anything and user32 will then
ignore the device when it enumerates rawinput devices.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-05 21:52:23 +02:00
..
Makefile.in hidclass.sys: Stop creating a setupapi device. 2021-04-19 22:06:56 +02:00
buffer.c
descriptor.c hidclass.sys: Calculate correct bitCount for vendor-specific 1 bit repeated elements. 2021-01-21 20:46:13 +01:00
device.c hidclass.sys: Assign rawinput handles through device properties. 2021-05-03 23:19:54 +02:00
hid.h hidclass.sys: Register GUID_DEVINTERFACE_KEYBOARD interface. 2021-04-23 20:02:06 +02:00
hidclass.sys.spec
pnp.c hidclass.sys: Call IoInvalidateDeviceRelations before IoSetDevicePropertyData. 2021-05-05 21:52:23 +02:00