[Bug 21023] SetupDiOpenDevRegKey() returns wrong HKEY

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 2 00:26:20 CDT 2012


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

--- Comment #6 from Austin English <austinenglish at gmail.com> 2012-04-02 00:26:20 CDT ---
In 1.5.1, nothing is printed, and the return value is 1.

Added some printf's, it's failing at this call:
    HKEY KeyDevice;
    DWORD len = MAX_NAME_PORTS;

    if (!SetupDiEnumDeviceInfo(DeviceInfoSet,numDev,&DeviceInfoData)) {
      SetupDiDestroyDeviceInfoList(DeviceInfoSet);
      return 1;
    }

-- 
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