[PATCH v2 4/5] hidclass.sys: Assign rawinput device handle in HID_LinkDevice.
Arkadiusz Hiler
ahiler at codeweavers.com
Wed Apr 14 04:16:25 CDT 2021
On Fri, Apr 09, 2021 at 01:11:34PM +0200, Rémi Bernon wrote:
> The handles are just numeric values and not real object handles, they
> are used in the hDevice field of the RAWINPUTHEADER struct.
>
> They will also be used as an HID rawinput device array index on the
> server side.
>
> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50506
> Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Arkadiusz Hiler <ahiler at codeweavers.com>
hDevice is an opaque value that's consistent across processes, so it's
probably a global identifier assigned by the system. This looks like a
correct thing to do.
--
Cheers,
Arek
More information about the wine-devel
mailing list