title: Getting device/driver information related to a COM port?
body: <p>I have a Serial-to-USB device with a similarly named device driver in the Windows device manager. The devices do not always grab the same COM port on system boot, so my program needs to identify it on start up.</p>
  
  <p>I've tried using <a href="http://rxtx.qbang.org/wiki/index.php/Main_Page" rel="nofollow noreferrer">RXTX</a> to enumerate the COM ports on the system, but this didn't work because <code>CommPortIdentifier.getName()</code> simply returns the COM name (eg. COM1, COM2, etc.) I need to acquire either the driver manufacturer name, or the driver name as it appears in the device manager, and associate it with the COM name. </p>
  
  <p>Can this easily be done in Java? (I'd be interested in any 3rd party Java libraries that support this.) Otherwise, how I could begin to accomplish this via the win32 API?</p>