title: How to find what device is connected to USB port (HID or Disk drive) in C++
body: <p>I have managed to enumerate all the connected USB ports using SetupDi calls. Sample code is available at this <a href="http://support.microsoft.com/kb/259695" rel="nofollow">link</a>.</p>
  
  <p>Please could any one tell me how can I find what device is connected to USB port like whether it is any HID device or any Disk drive?</p>
  
  <p>Thanks.</p>