http://bugs.winehq.org/show_bug.cgi?id=35345
--- Comment #6 from Vincent Povirk madewokherd@gmail.com --- Here's that call with setupapi traces:
0009:Call setupapi.SetupDiGetClassDevsW(10f84e6c,0033cbfc,00000000,0000000a) ret=103d5972 0009:trace:setupapi:SetupDiGetClassDevsExW {4d36e968-e325-11ce-bfc1-08002be10318} L"PCI\VEN_0000&DEV_0000" (nil) 0x0000000a (nil) (null) (nil) 0009:warn:setupapi:SetupDiGetClassDevsExW unsupported flags 0000000a 0009:trace:setupapi:SetupDiCreateDeviceInfoListExW {4d36e968-e325-11ce-bfc1-08002be10318} (nil) (null) (nil) 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000024) ret=7cc54af9 0009:Ret ntdll.RtlAllocateHeap() retval=0019f278 ret=7cc54af9 0009:trace:setupapi:SETUPDI_EnumerateDevices 0x19f278, {4d36e968-e325-11ce-bfc1-08002be10318}, L"PCI\VEN_0000&DEV_0000", 0000000a 0009:Call advapi32.RegCreateKeyExW(80000002,7cc801a0 L"System\CurrentControlSet\Enum",00000000,00000000,00000000,00020019,00000000,0033c26c,00000000) ret=7cc585b3 0009:Ret advapi32.RegCreateKeyExW() retval=00000000 ret=7cc585b3 0009:Call advapi32.RegOpenKeyExW(0000012c,0033cbfc L"PCI\VEN_0000&DEV_0000",00000000,00020019,0033c278) ret=7cc585ef 0009:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=7cc585ef 0009:Call advapi32.RegCloseKey(0000012c) ret=7cc5860e 0009:Ret advapi32.RegCloseKey() retval=00000000 ret=7cc5860e 0009:Ret setupapi.SetupDiGetClassDevsW() retval=0019f278 ret=103d5972
I uploaded the new log to the same place.