WIndows 7 Windows Driver Kit RRS feed

  • Question

  • I am having a problem with USB class class installers and/or co-installers under Windows 7.   Code works with Vista and XP.

     Class installer code works with Vista and Windows XP.  Not Windows 7.
    Call to SetupDiGetDeviceInstanceId fails (bad parameter) when invoked when processing DIF_DESTROYPRIVATEDATA (curious implementation, I did not write this).   Attempting to trace with message boxes hangs the installer.
    I experimented with a call to SetupDiGetDeviceInstanceId when processing DIF_NEWDEVICEWIZARD_FINISHINSTALL hangs the installation (consistant with message boxes).   Forcing asserts does not invoke the debugger.


    Friday, July 9, 2010 3:52 PM