Is there a change in the format of "LocationInformation" registry entry on vista?

Hi,

The format of registry entry LocationInformation under:

HKLM/System/CCS/Enum/PCI/<ven_xxx.>

on XP used to be:

PCI bus 0, device 31, function 5

But on Vista this format seems to have changed to look like:

@system32\drivers\pci.sys,#65536;PCI bus %1, device %2, function %3;(x,y,z)"

Is it possible to retain/see the old format?
Who creates these Enum subkeys under PCI for every PCI device? Is it
created by the System automatically when a device registers an interface?

Regds,
-Praveen</ven_xxx.>

You need to use the SetupAPI API
(SetupDiGetDeviceRegistryProperty(SPDRP_LOCATION_INFORMATION)) to
retrieve the string. The API will give you the format (what you are see
is a string which points to a localized resource)

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Tuesday, November 28, 2006 4:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Is there a change in the format of
“LocationInformation” registry entry on vista?

Hi,

The format of registry entry LocationInformation under:

HKLM/System/CCS/Enum/PCI/<ven_xxx.>

on XP used to be:

PCI bus 0, device 31, function 5

But on Vista this format seems to have changed to look like:

@system32\drivers\pci.sys,#65536;PCI bus %1, device %2, function
%3;(x,y,z)"

Is it possible to retain/see the old format?
Who creates these Enum subkeys under PCI for every PCI device? Is it
created by the System automatically when a device registers an
interface?

Regds,
-Praveen


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer</ven_xxx.>

Why do you need the old format?Message-----<unkfrom: xxxxx>[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru<unksent: tuesday november am windows>System Software Devs Interest List<unksubject: is there a change>in the format of “LocationInformation” registry entry on
vista?LocationInformation under:HKLM/System/CCS/Enum/PCI/<ven_xxx.>be:format seems to have changed to look
like:function %3;(x,y,z)"format?device? Is it registers an interface?http://www.osronline.com/article.cfm?id=256the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer</ven_xxx.></unksubject:></unksent:></unkfrom:>

Looks like some apps have been written which looks for string in the old
format.
The app needs to be changed. So if there is a way to get the old format,
then app need not be changed.

“Peter Wieland” wrote in message
news:xxxxx@ntdev…
Why do you need the old format?Message-----<unkfrom: xxxxx>[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru<unksent: tuesday november am windows>System Software Devs Interest List<unksubject: is there a change>in the format of “LocationInformation” registry entry on
vista?LocationInformation under:HKLM/System/CCS/Enum/PCI/<ven_xxx.>be:format seems to have changed to look
like:function %3;(x,y,z)"format?device? Is it registers an interface?http://www.osronline.com/article.cfm?id=256the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer</ven_xxx.></unksubject:></unksent:></unkfrom:>

The apps are not using the correct APIs to get the information in the
first place otherwise they would just work on Vista (and one of the big
requests was to have localized strings in device manager on a per user
basis).

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Tuesday, November 28, 2006 10:04 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Is there a change in the format of
“LocationInformation” registry entry on vista?

Looks like some apps have been written which looks for string in the old

format.
The app needs to be changed. So if there is a way to get the old format,

then app need not be changed.

“Peter Wieland” wrote in message
news:xxxxx@ntdev…
Why do you need the old format?Message-----<unkfrom: xxxxx>[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru<unksent: tuesday november am windows>System Software Devs Interest List<unksubject: is there a change>in the format of “LocationInformation” registry entry on
vista?LocationInformation under:HKLM/System/CCS/Enum/PCI/<ven_xxx.>be:format seems to have changed to look
like:function %3;(x,y,z)"format?device? Is it registers an interface?http://www.osronline.com/article.cfm?id=256the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer</ven_xxx.></unksubject:></unksent:></unkfrom:>

OK.

“Doron Holan” wrote in message
news:xxxxx@ntdev…
The apps are not using the correct APIs to get the information in the
first place otherwise they would just work on Vista (and one of the big
requests was to have localized strings in device manager on a per user
basis).

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Tuesday, November 28, 2006 10:04 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Is there a change in the format of
“LocationInformation” registry entry on vista?

Looks like some apps have been written which looks for string in the old

format.
The app needs to be changed. So if there is a way to get the old format,

then app need not be changed.

“Peter Wieland” wrote in message
news:xxxxx@ntdev…
Why do you need the old format?Message-----<unkfrom: xxxxx>[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru<unksent: tuesday november am windows>System Software Devs Interest List<unksubject: is there a change>in the format of “LocationInformation” registry entry on
vista?LocationInformation under:HKLM/System/CCS/Enum/PCI/<ven_xxx.>be:format seems to have changed to look
like:function %3;(x,y,z)"format?device? Is it registers an interface?http://www.osronline.com/article.cfm?id=256the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer</ven_xxx.></unksubject:></unksent:></unkfrom:>