I want to list USB drives in my machine. How to do it in VC++. Can u give a sample code.
I don't think you're going to get anybody to write the code for you: you're a programmer, that's (presumably) your job.
However, you can start with GetLogicalDriveStrings and GetDriveType.