CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    73

    Question how to enumerate all devices installed?just like windows device manager

    thank you !

  2. #2
    Join Date
    Jan 2005
    Posts
    73

    Re: how to enumerate all devices installed?just like windows device manager

    nobody gonna help? i guess any links or hints would be okay ty

  3. #3
    Join Date
    Aug 2003
    Location
    US
    Posts
    13

    Re: how to enumerate all devices installed?just like windows device manager

    USe SetupDi commands like SetupDiGetClassDevs(), pass first parameter as ClassGUID. This API call will retrun handle to device Info structure, using this information enumerte all the devices under each GUID class by using SetupDiEnumDeviceInfo().

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured