title: Detecting USB insertion/Removal in C++ non-GUI application
body: <p>I want to detect insertion/removal of a specific (Custom) USB device through a C++ application which runs in background and has no GUI.</p>
  
  <p>I have seen lot of questions and their solutions <code>RegisterDeviceNotification</code> also sample code on <a href="http://msdn.microsoft.com/en-us/library/aa363432.aspx" rel="noreferrer">MSDN</a></p>
  
  <p>But these all application has Some Window/Form/GUI. My Application doesn't have any.
  How can I use this in my application?</p>
  
  <p>My last option would be to create an invisible window... But is there any other way out??</p>