views:

176

answers:

1

I would like to know how can I detect when the user attaches a removable drive on a computer ( in a Windows XP environment ) . There surely has to be a better way than constantly checking to see if the number of drives increased , right ?

+4  A: 

Here's an article at CodeProject

http://www.codeproject.com/KB/shell/shchangenotifyregister.aspx

idstam