https://bugs.winehq.org/show_bug.cgi?id=45455 --- Comment #10 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 75401 --> https://bugs.winehq.org/attachment.cgi?id=75401 Most basic test program against windows 32bit setupapi According to the testprogram from https://wiki.winehq.org/Wine_Developer%27s_Guide/Other_Debugging_Techniques#... the function has 28 bytes as parameters (on x86). So for example 7 pointers/dwords. Call in wine
0148:err:setupapi:DriverStoreFindDriverPackageW L"C:\\Program Files\\IVI Foundation\\VISA\\IVI USB Staging\\b841aa80\\Windows\\ausbtmc.inf", 0, 0, 0, 0, 00CB1E70, 01CBFB38
The first parameter is easy, 2-5 are always NULL and the last two are unknown. Return value is a HRESULT. To me it looks like the last parameter could be a struct with size (260) as the first member. On win64 I don't know how large the parameters should be, but I assume some more DWORDS must be pointers. With the current signature it crashes. No idea how to continue though, this might be as far as I can get. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.