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

Posted on 2004-03-30
Medium Priority
Last Modified: 2010-04-17
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>
Question by:pinguu
1 Comment
LVL 22

Accepted Solution

cookre earned 500 total points
ID: 10718377
THat's all in the DDK which, alas, is no longer free.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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.

Join & Write a Comment

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Starting up a Project

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question