Anybody got a code fragment to list PCI cards (with resources) installed in Windows PC?

Hi guys

I am seraching for a Visual C++ code fragment to assist me in enumerating PCI devices installed on a Windows NT, 2K, XP based PC.

I already have working DOS code to do this, but cannot seem to work out how to do it in Windows.

Specifically, I need the device class etc information + (this is important for me) what memory & port resources the device is using.

Any assistance is greatly appreciated!

pinguu - <email address removed by GhostMod, CS Moderator>
pinguuAsked:
Who is Participating?
 
cookreConnect With a Mentor Commented:
THat's all in the DDK which, alas, is no longer free.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.