SPDRP_LOCATION_INFORMATION in Vista differs from XP
- From: Johan Paul <johan.paul@xxxxxxxxx>
- Date: Fri, 20 Jul 2007 13:49:38 -0000
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
.
- Follow-Ups:
- Re: SPDRP_LOCATION_INFORMATION in Vista differs from XP
- From: Johan Paul
- Re: SPDRP_LOCATION_INFORMATION in Vista differs from XP
- From: Maxim S. Shatskih
- Re: SPDRP_LOCATION_INFORMATION in Vista differs from XP
- Prev by Date: Re: DOT11_OPERATION_MODE_NETWORK_MONITOR in NDIS 6.0 on Vista
- Next by Date: mixing msvcr71.dll and msvcrt.dll (both dynamic link)
- Previous by thread: Re: Question about DRIVER_INFO_2 for AddPrinterDriverEx
- Next by thread: Re: SPDRP_LOCATION_INFORMATION in Vista differs from XP
- Index(es):
Relevant Pages
|