SPDRP_LOCATION_INFORMATION in Vista differs from XP

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi all!

I have a coclass installer for a USB driver that works in XP and
Vista. The device has a generic name in the INF file and I want to
rename it by setting its' friendly name to a more proper one.

I can get the USB device name in XP with
SetupDiGetDeviceRegistryProperty(...) and using
SPDRP_LOCATION_INFORMATION as parameter. I get a nice device name as a
result. This has changed in Vista and in Vista I get as the name of
the device Port_#000x.Hub_#000y.

I don't know if this is a fix for a bug or change in intended behavior
in Vista - anyway I would like to get the device name for my coclass
installer in Vista too. Is this possible by other means?

Thanks in advance!



Regards,

Johan Paul

.



Relevant Pages

  • Re: Vista delete USB registry keys
    ... for the USB device so when it is plugged in Vista goes through the ... install usb driver process. ... load a usb driver so I can experiment and document the process. ...
    (microsoft.public.development.device.drivers)
  • Re: A7N8X Vista USB problem
    ... motherboards other than the A7N8X i.e. is it possible that a later ... motherboard USB driver will be compatible with A7N8X? ... Vista will install the drivers for this board and it should work fine (why ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Serial port problem on ARM board
    ... Do you think a USB driver would get my problem solved? ... As 'linnux' said: "Vista does not work with most USB based tools", ... Dump Vista, and install an OS with less 'suckage'. ... Linux, DOS, ...) ...
    (comp.arch.embedded)
  • Re: SPDRP_LOCATION_INFORMATION in Vista differs from XP
    ... Johan Paul ... I have a coclass installer for a USB driver that works in XP and ... This has changed in Vista and in Vista I get as the name of ...
    (microsoft.public.development.device.drivers)
  • Re: Is DDK(3790) version supports vista drivers
    ... In general a properly written INF file that is working on XP works ok on ... specifically for Vista). ... i have the driver file .sys & .dlland util example. ... If you want to sign your driver you have to go to the WDK since ...
    (microsoft.public.development.device.drivers)