title: AutoDetect USB Insert and Removal in Delphi
body: <p>I need to detect when a USB Device is removed or inserted from my program.
  I have made some research and <a href="http://www.swissdelphicenter.ch/en/showcode.php?id=2211" rel="nofollow">found this</a> but don't know how to implement/use it.
  could someone help me out probably with a function that would return true on USB Insert and false on Removal so that i can call a Timer to check that function every second?<br>
  Using Delphi XE7.</p>
  
  <p>Thanks.</p>