Hi,

If I use the New Hardware Wizard and specify the wizard to "skip driver installations of this device. Windows will prompt again to perform the driver installation". Then when I run my own driver installation program, the call to get the SPDRP_CONFIGFLAGS using SetupDiGetDeviceRegistryProperty fails ... checking the registry the key doesn't seem to exist

My questions are
1) How can I tell if such a device is marked for installation/re-installation
2) How can I find out which devices will be automatically handled by the hardware wizard the next time they are plugged i

Thank
Dan

Re: driver installation problem by James

James
Mon Mar 01 18:44:15 CST 2004

This doesn't answer your questions, but let me observe that the fact that
SetupDiGetDeviceRegistryProperty returns rc = 13 (data is invalid) is less
than ideal. I'll file a bug about this, with hope of getting a more
informative code ("no such property," perhaps) or at least a better
description of the return code.

--
James Antognini
Windows DDK Support

This posting is provided "AS IS" with no warranties, and confers no rights.

"Dan" <anonymous@discussions.microsoft.com> wrote in message
news:C22B907E-7549-4FF5-9A0E-B0A67A62FAD7@microsoft.com...
> Hi,
>
> If I use the New Hardware Wizard and specify the wizard to "skip driver
installations of this device. Windows will prompt again to perform the
driver installation". Then when I run my own driver installation program,
the call to get the SPDRP_CONFIGFLAGS using SetupDiGetDeviceRegistryProperty
fails ... checking the registry the key doesn't seem to exist.
>
> My questions are:
> 1) How can I tell if such a device is marked for
installation/re-installation ?
> 2) How can I find out which devices will be automatically handled by the
hardware wizard the next time they are plugged in
>
> Thanks
> Dan