Tech Support > Microsoft Windows > Drivers > Getting Device Status
Getting Device Status
Posted by Thomas Yee on June 30th, 2004


In the Windows Device Manager, one can view a list of available
devices and their statuses, i.e. whether they are working properly,
driver info, etc.

I presume that an API must exist whereby I can inquire
programmatically this information via relatively simple high level
calls. Could anybody point me in the right direction for C/C++ coding
examples, etc.?

Thank you very much!

Tom

Posted by Maxim S. Shatskih on June 30th, 2004


DEVCON source from the DDK. This is command-line Device Manager.

The API is a set of SetupDiXxx routines, they are documented. Start with
SetupDiGetClassDevs.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


"Thomas Yee" <ThomasYee@discussions.microsoft.com> wrote in message
news:BEA9B72E-5C63-442D-80DF-06A1BA2A0052@microsoft.com...



Similar Posts