Tech Support > Microsoft Windows > Development Resources > Removable drive notification?
Removable drive notification?
Posted by Laurens on December 6th, 2004


Hi,


Is it possible to register for notification that a removable drive (for
example, a USB flash drive) has been (dis)connected? If so, what section
of the Windows API should I be looking at?


Thanks
-Laurens

Posted by chrisspencer02@yahoo.com on December 7th, 2004


See the documentation for the WM_DEVICECHANGE message:
http://msdn.microsoft.com/library/de...vicechange.asp

Posted by Laurens on December 7th, 2004


chrisspencer02@yahoo.com wrote:
That was exactly the info what I was looking for. Thanks for the pointer.

-Laurens



Similar Posts