Get info about problematic devices in Device Manager



I find a piece of code that can identify devices that are not working
(those marked with an exclamation point icon in Device Manager). You
can find it at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_tasks__computer_hardware.asp.

To test it, I install one HP printer without installing its driver on
my machine. And then I check Device Manger, and it lists 3 items under
the "Other devices" category with question marks, and 2 of them have
exclaimation marks.

Then I run my VB6 application along with sample code from Microsoft to
test whether I can detect the problematic items in the Device Manager.
But the application says everything is fine.

My question is how to get information about the problematic devices
with exclaimation marks under "Other devices" category? Thanks a lot.

.



Relevant Pages

  • Re: Reboot several times a day
    ... I tried using the link in the original event viewer window and it says no ... I also checked device manager and displayed hidden devices as well. ... > Are there any yellow question marks in Device Manager? ... >> Event Type: Error ...
    (microsoft.public.windowsxp.general)
  • Re: Multiple BSODs
    ... THe BSODs occured after the boot process, and I dont have any yellow ... After i made a clean install of windows the BSODs only occurred ... Are there any yellow question marks in Device Manager? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: cant add new hardward
    ... There were a few question marks in ... Rebooted and looked in device manager for Exclaimation marks. ... When i run new hardware wizard. ... "You can install only one device at a time. ...
    (microsoft.public.windowsxp.hardware)
  • Cant Remove Items From Device Manager
    ... I have been having a problem installing a scanner in win XP and I have tried ... Now when I go into Device Manager and click under ... Is ther any way I can get rid of all these extra question marks I dont ...
    (microsoft.public.windowsxp.help_and_support)
  • Cant Remove Items From Device Manager
    ... I have been having a problem installing a scanner in win XP and I have tried ... Now when I go into Device Manager and click under ... Is ther any way I can get rid of all these extra question marks I dont ...
    (microsoft.public.windowsxp.general)