title: Native way to get the feature report descriptor of HID device?
body: <p>We have some <strong>HID devices</strong> (touch digitizers) that communicate with an internal R&amp;D tool. This tool <strong>parses the raw feature reports</strong> from the devices to draw the touch reports along with some additional data that are present in the raw feature report but filtered out by the HID driver of Windows 7 (eg, pressure data is not present in <code>WM_TOUCH</code> messages).</p>
  
  <p>However, we have started working with some devices that may have different firmware variants, and thus that do not share the same ordering or bytelength of the fields and I need to modify our R&amp;D tool so that it will adapt transparently to all the devices.</p>
  
  <p>The devices come from the same manufacturer (ourselves) and share the same device info, so using these fields to differentiate between the different firmwares is not an option. What I would like to do is to <strong>get the HID feature report descriptor</strong> sent by the device and update dynamically our feature report parsing method based on this information.</p>
  
  <p>However, I didn't manage to find the correct method to call in order to get this descriptor when browsing the Windows API. What I have found so far is the <a href="http://msdn.microsoft.com/en-us/library/ff468896%28v=vs.85%29.aspx" rel="nofollow">Raw Input page</a> on MSDN, but I'm not sure what to do next. Can I find the required information in the <a href="http://msdn.microsoft.com/en-us/library/ms645584%28v=vs.85%29.aspx" rel="nofollow">RID_DEVICE_HID</a> structure ? Or do I need to call a completely different API ?</p>
  
  <p>Thanks in advance for your help!</p>