[Bug 21023] New: SetupDiOpenDevRegKey() returns wrong HKEY

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 15 12:36:20 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=21023

           Summary: SetupDiOpenDevRegKey() returns wrong HKEY
           Product: Wine
           Version: 1.1.34
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: setupapi
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: mdealencar at gmail.com


Created an attachment (id=25222)
 --> (http://bugs.winehq.org/attachment.cgi?id=25222)
bug example

In a Windows XP system SetupDiOpenDevRegKey() returns the "Device Parameters"
HKEY under the device instance corresponding to the supplied (DeviceInfoSet,
&DeviceInfoData) pair.

Wine's SetupDiOpenDevRegKey() returns the device instance HKEY instead.

The relevant registry keys are not created by Wine, so I had to import them
from a Windows XP system

Example:

Windows HKEY returned corresponds to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0451&Pid_6951\5&5a20206&0&1\Device
Parameters

Wine HKEY returned corresponds to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0451&Pid_6951\5&5a20206&0&1


The attached registry patches and source code enable the reproduction of the
bug.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list