mikeobrien/HidLibrary — pull request #25 by GeorgeHahn (2012-12-12 00:56:14+00:00)
Title: Cleaned up my changes

Functionality is the same; there is still some code duplication, but the commit is clean otherwise.

----

Added BusReportedDescription property to HidDeviceAttributes
Filled above property with information from SetupDiGetDeviceProperty (available on Vista and onwards)
Added native reference to SetupDiGetDeviceProperty
Added native DEVPROPKEY struct and defined the BusReportedDescription key
**Changed last field of SetupDiGetDeviceRegistryProperty from IntPtr to ref int.**

modified: src/HidLibrary/HidDeviceAttributes.cs
modified: src/HidLibrary/HidDevices.cs
modified: src/HidLibrary/NativeMethods.cs