Access to devices information

  • Thread starter Thread starter Mike Faynberg
  • Start date Start date
M

Mike Faynberg

Hello,
I am using VC++ 6.0 on a WinXP machine. The program I work on supports
several types of plug-in boards of various brands - though only one board is
installed at a time. I would like to automatically detect which board is
installed, and in order to do it I need the access to the hardware
information, something like "Device Manager" so that I could navigate through
the system hardware, find a device of certain type and get the name of the
group it belongs to (like "Display Adapters" or "Imaging Devices"), as well
as the device name.
How can I do it?
Thank you in advance,
Mike
 
I am using VC++ 6.0 on a WinXP machine. The program I work on supports
several types of plug-in boards of various brands - though only one board is
installed at a time. I would like to automatically detect which board is
installed, and in order to do it I need the access to the hardware
information, something like "Device Manager" so that I could navigate through
the system hardware, find a device of certain type and get the name of the
group it belongs to (like "Display Adapters" or "Imaging Devices"), as well
as the device name.
How can I do it?

Mike,

I'd have a look at WMI interfaces - if it's hardware related it's
usually accessible via WMI (somehow).

Dave
 
Back
Top