Sweden-Number/dlls/hidclass.sys
Rémi Bernon c0fc89991b hidclass.sys: Use __wine_send_input to send device notifications.
When INPUT type is INPUT_HARDWARE and hi.uMsg is WM_INPUT_DEVICE_CHANGE,
the RAWINPUT structure usage is a non-standard extension for Wine
internal usage:

* header.wParam contains the message GIDC_ARRIVAL / GIDC_REMOVAL wparam,

* hid.bRawData contains two words, which are the HID device UsagePage
  and Usage words, instead of a real HID report.

This will let us use the same entry point and structures to send device
notifications as for the HID reports in the future (which will be sent
with INPUT_HARDWARE type / WM_INPUT uMsg instead).

This currently does nothing, because the INPUT_HARDWARE messages are
currently dropped, and because winedevice.exe desktop is different from
the default desktop.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50506
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-10 22:02:09 +02:00
..
Makefile.in hidclass.sys: Use __wine_send_input to send device notifications. 2021-05-10 22:02:09 +02:00
buffer.c
descriptor.c
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: Use __wine_send_input to send device notifications. 2021-05-10 22:02:09 +02:00