In my qt application I want to save some application output data to an file in my usb pen drive. I need to put following features in my qt application
- Detect the usb drive insertion
- I have only one usb slot.
- After i insert it I want to know its drive number and letter and transfer a file at specific location in my PC to that usb drive.
Can anybody tell me which winapi .lib , .h and .dll file i hav to use to get all the above functionalities ?
If someone can provide some code snippets, it will very much helpful for me.