How to detect any mass storage device ?

Jun 28 2009 10:32 AM
I want to make autorun remover application..can u tell me how can i detect that pen drive or any mass storage device is inserted.

Please tell me if u know.

Thanks in advance.