Connecting to Mobile Device (phone) Via USB

Looking for some information on how I would go about notifying my software of a hardware change via USB. IE) when I plug in a mobile phone I want my software to display the phone in console.

I've tried experimenting with GetDriveType() but I don't know what include directive I should be using.


Basically the flow of the program in my head looks like this:
User Connects device -> Program displays device specs/information -> user selects from menu what tests he wants to run -> diagnostics stats are displayed via console.

Though without the ability to actually see the device or connect to it I can't get past step 2. HAHA.
Topic archived. No new replies allowed.