Reading Device Manager Properties' fields RRS feed

  • Question

  • I am developing a windows application for a hardware being plugged externally into teh windows based device PC/Tablets .For that as one of the requirement I need to detect the field details - X for the Device Being Connected .

    Where X is as follows -->

    Right Click My Computer >

        Properties >
              Device Manager > (select any Item - Say KeyBoard) >
                       Click it > standard PS/2 KeyBoard >
                                    double Click standard PS/2 KeyBoard >
                                               click the Details Tab >

    Under the Property there are various fields like Display Name , Problem Code,Parent Siblings, etc , etc?

    I want to get their values . Which Windows API I can use for this. I am doing this for windows 7 as well as windows 8.I hope the API will remain the same.Also i am having 64 bit machine.

    ALso I just want to do operations - Reading and No Set (writing) so I think I will not be having any problem with violating the Admin Rights.PLease suggest.! Rgds Softy

    Monday, February 25, 2013 6:00 AM


All replies