Error - Failed to read WPD_OBJECT_ORIGINAL_FILE_NAME on object

0

I am trying to use WPD Application Programming Interface to copy images from my iphone to Windows system.

I am running the code on Windows 10 PC, code is listing the devices and enumerating all files in the device correctly. But when I am trying to transfer content from device to my PC, the following error occurs.

Issue:

hr = GetStringValue(pProperties,
                    szSelection,
                    WPD_OBJECT_ORIGINAL_FILE_NAME,
                    strOriginalFileName);

Tis call always fails and the below error is returned.

Failed to read WPD_OBJECT_ORIGINAL_FILE_NAME on object 'oB90', hr = 0x800700aa

sample code: https://github.com/microsoft/Windows-classic-samples/tree/master/Samples/Win7Samples/multimedia/wpd/WpdServicesApiSample

visual-c++
wpd
asked on Stack Overflow May 14, 2020 by syam218 • edited May 14, 2020 by Robert

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0