https://bugs.winehq.org/show_bug.cgi?id=46711
--- Comment #63 from Gerold Gerold.Ruhland@gmail.com --- (In reply to Zebediah Figura from comment #62)
(In reply to Gerold from comment #61)
Just noticed, that it is NOT necessary to disable SDL in Wine 4.4 after compiling with your patches. Everything is working with SDL enabled.
I would guess that's because you were missing libsdl-dev when compiling ;-)
You are right. "libsdl1.2" was installed and I tought that Wine is compiled with SDL enabled in this case. Only after installing "libsdl2" I had to disable SDL to get my test program working.
Regarding HidD_GetIndexedString. I have read, that there are HID devices (or the HID driver), where HidD_GetSerialNumber is returning an empty string and in this case HidD_GetIndexedString is used to get the serial number. It seems, this is what my other test-program (without source) is doing (at least for the MS-Mouse or the BarCode Reader, cause they don't have a serial number). I changed my own test-program, so that it will log the results of HidD_GetIndexedString with index 0,1,2 and 3. For my Ambit, the serial number is also returned using index 3, but it does not look like that this is valid for all HID devices.