title: Is it possible to get an XInput device's name, product ID, vendor ID or some other kind of unique identifier for it?
body: <p>Ordinarily XInput controllers are identified simply using an index corresponding to the player number of the controller. Is there a way to obtain more information about a controller with a specific index, such as its vendor ID, product ID, or device name?</p>
  <p>Even better would be a identifier that corresponds uniquely and consistently to just that controller so that it can be distinguished from all other XInput devices regardless of its index, including another controller that's an identical model (i.e. same product and vendor ID), similar to the instance GUID available using DirectInput.</p>
  <p>Can this be accomplished using XInput or another Microsoft API? I'm also open to using undocumented functions if need be.</p>