How to get portable device windows path? RRS feed

  • Question

  • I am trying to open from my c++ application the folder location of the newly connected portable device.
    The device when in opened in explorer, it is in "Computer/Xperia Z2". But when I try to use this directly or simply hardcoding this path, path was not found.

    I was able to get

        dbcc_name = "\\\\?\\USB#VID_0FCE&PID_01AF#CB5A20JNTB#{6ac27878-a6fa-4155-ba85-f98f491d4f33}"
        Device Friendly Name = "Xperia Z2" 
    Can you please help me get the file system location?
    Monday, July 8, 2019 3:44 AM

All replies