RE: XP - How to get PCI slot/function? - Urgent

Digging up an old post in this group:

Date: Wed, 19 Sep 2001 09:47:28 -0700
Author: “Gurupurna Huchurao”
Subject: RE: XP - How to get PCI slot/function? - Urgent

Body: One way to find out device location information is using
SPDRP_LOCATION_INFORMATION in SetupDiGetDeviceRegistryProperty. This is
the same information as is reported in device manager.
Also you could try using SPDRP_UI_NUMBER in the
SetupDiGetDeviceRegistryProperty will give the Slot information in the
Property Buffer.

I am also intrested in finding the location of a PCI adapter i.e. it’s
bus/device info. However I need to do this using the Dixxxx() ver of
these APIs. I would appreciate it if anyone would post information on
doing the same.

Thanks.