On Mar 20, 2019, at 7:26 AM, Aric Stewart aric@codeweavers.com wrote:
v2: With input from Huw Davies
Signed-off-by: Aric Stewart aric@codeweavers.com
dlls/hidclass.sys/device.c | 11 +++++------ dlls/winebus.sys/main.c | 12 +++++++++--- 2 files changed, 14 insertions(+), 9 deletions(-)
<v2-0001-HID-Handle-failure-to-create-device-by-trying-to-op.txt>
Why is this necessary? All we do in both winebus and hidclass is register the device, and if SetupDiOpenDeviceInfo() succeeds then the device was already registered. And we don't depend in either case on the setupapi routines succeeding.