The device is not accessible via the host machine's file system. There is no local drive letter or UNC share assigned to the device, so you can't use filesystem-based functions to access the device's files.
So, you will have to use alternative means of accessing the device's files, such as:
Win32 Shell interfaces (IShellFolder/IShellItem, PIDLs, etc) - which is what Explorer uses.
Introduction to the Shell Namespace
Navigating the Shell Namespace
IFileOperation::CopyItem() and IFileOperation::CopyItems
Windows Portable Devices API
Android Debug Bridge
pull command