I would like this app to run in WinNT.
I like to write a program that can grap any kind of PCI card info such as, manufacturer, s/n of the prod. etc. and display them out in a form. I will have two identical pci in the computer and connect them with cable(loop). I would send a piece of data out from one pci and receive it from the other one.
quote from DoughDbug:
the OS should have already detected the device, and maybe you can query the registry to get the information. (Ask on the windows board how to do this.)
If you have a PCI device that is installed (with a driver) on your machine, then you will have to communicate with the driver in order to communicate with the card(s).
As for enumerating your PCI devices, take a look at
KEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Enum/PCI in your registry.