title: Get USB serial number c++
body: <p>I'm looking to retrieve the serial number from a USB memory stick on windows in c++. </p>
  
  <p>I have found plenty of C# examples, and c++ for linux but none for c++ and windows. </p>
  
  <p><strong>Edit</strong></p>
  
  <ul>
  <li>C++/CLI is not an option unfortunately. </li>
  <li>I am looking for the serial number of the device not the file system. OR "Device Instance Path" AKA "InstanceID"</li>
  </ul>