How to get IWMDMStorageControl interface for given PIDL
问题 I use SHBrowseForFolder() to select a folder on MTP device. Then I want to copy file from/to there. IWMDMStorageControl interface (from Windows Media Format 11 SDK) seems suitable, but how to get it for the object with PIDL, returned from SHBrowseForFolder()? (I asked similar question about obtaining IWMDMStorageControl interface: How to get IPortableDeviceContent interface for given PIDL) 回答1: We can get the displayed name, associated with the PILD from SHBrowseForFolder() in this way: TCHAR