Tom's Hardware > Forum > Windows XP > Device Driver > How can I get PCI card Slot Number in my WDM driver?

How can I get PCI card Slot Number in my WDM driver?

Forum Windows XP : Device Driver - How can I get PCI card Slot Number in my WDM driver?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.device_driver.dev (More info?)

 

Dear All,

How can I get PCI card Slot Number in my WDM driver?
Thanks a lot.

Best Regards,
Leon

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.device_driver.dev (More info?)

 

You can't because in WDM you don't need it and there is no facility to
provide it. IRP_MN_START gives you both raw and translated resources. Your
next argument then will be because you need to uniquely identify the card by
using the slot number, but that is bogus thinking since the numbering of the
PCI adapter connector has no standardization across or within OEMs.

This has been discussed a plethora of times and the answer always, you
can't, and poor design if you depend on it.

--
Gary G. Little
Seagate Technologies, LLC
..
"leon" <jin.xin@advantech.com.cn> wrote in message
news:eIPrHvGSEHA.3528@TK2MSFTNGP09.phx.gbl...
> Dear All,
>
> How can I get PCI card Slot Number in my WDM driver?
> Thanks a lot.
>
> Best Regards,
> Leon
>
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Device Driver > How can I get PCI card Slot Number in my WDM driver?
Go to:

There are 712 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them