Click to See Complete Forum and Search --> : Detecting a usb key plugin


altra4u
July 29th, 2009, 02:14 PM
hi,
I wanted to know how I would be able to detect whenever a usb key is plugged in.
Any help appreciated.
-chit

carl666
August 1st, 2009, 01:13 PM
It's a FAQ . You can ask on Win32 grp (http://tinyurl.com/cmhb5g))
for official code (used in Explorer source code...)

golanshahar
August 4th, 2009, 11:52 PM
You can try WM_DEVICECHANGE (http://msdn.microsoft.com/en-us/library/aa363480(VS.85).aspx).

Cheers