Adam,
Thanks for you reply.
Well HalGetBusData is supposed to be obsolete… In its place you are
supposed to use IRP_MN_QUERY_INTERFACE, but I don’t think you can so that
from user mode, right? I tried, but in order to use it, you have to include
ntddk.h, which clashes with winnt.h (required for the notify object). This
assumes I first have to call IoGetDeviceInterfaces to get the interface.
Aside from all this, I don’t think you can use those kinds of functions in
user mode.
True? If so, any other suggestions?
Thanks,
John
-----Original Message-----
From: Adam Peterson [mailto:xxxxx@efficient.com]
Sent: Friday, February 02, 2001 10:37 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Please help! Trying to get bus and slot of device
in notify obje ct…
How about HalGetBusData()? Or get the PCI bios information from the PCI
Bios’s Routing from ROM.
Adam
-----Original Message-----
From: John Hirschi [mailto:xxxxx@SonicWALL.com]
Sent: Friday, February 02, 2001 10:39 AM
To: NT Developers Interest List
Subject: [ntdev] Please help! Trying to get bus and slot of device in
notify obje ct…
I’ve asked this question twice, with no response. If you even have a
suggestion of where to start looking, please reply and tell me where I can
start. I’ve waded through the DDK and read everything that looked relevant,
with no luck. Anyone?
Using the INetCfg interface, I got an enumeration of all of the network
devices on the system. Going through this list and sending each device’s
DevNodeID to the CM_Locate_DevNode function, I’ve been able to identify
which devices are currently installed. Now that I know which devices are
currently installed, I want to know the PCI bus number, slot number, and
function of these currently installed devices.
I am writing a notify object for my intermediate driver (using the sfilter
and passthru ddk examples). Can someone please point me in the right
direction?
Thanks,
John Hirschi
You are currently subscribed to ntdev as: xxxxx@efficient.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@sonicwall.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com