title: Detecting USB notification in Qt on windows
body: <p>In my qt application I want to save some application output data to an file in my usb pen drive. I need to put following features in my qt application</p>
  
  <ol>
  <li>Detect the usb drive insertion</li>
  <li>I have only one usb slot.</li>
  <li>After i insert it I want to know its drive number and letter and transfer a file at specific location in my PC to that usb drive.</li>
  </ol>
  
  <p>Can anybody tell me which winapi .lib , .h and .dll file i hav to use to get all the above functionalities ?</p>
  
  <p>If someone can provide some code snippets, it will very much helpful for me.</p>