How to find Device type from mounted Device?

eg: Lets say, I have connected Sd card in Windows 7 environment, which gets mounted at location D:\ . Is there anyway to find if D:\ mounted volume is of USB or SD card?

I want to write small utility or small windows drivers which can take mounted volume path and tell if this volume is USB, SD card or Sata disk.

AnyIdea would be really appreciated.

link|improve this question
Extract the info from MountedDevices in the registry, the devices that say USB in the data? then extract USBSTOR the items with flash in the data are? I donno but its a start. – Psycogeek Sep 29 '11 at 12:50
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.