Click here to Skip to main content
13,193,600 members (41,859 online)
Rate this:
Please Sign up or sign in to vote.

Using C++, I'm trying to use the People Tagging feature by setting the PersonDisplayName property. I've tried this code:

// Add additional metadata.
value.vt = VT_LPWSTR;
value.pwszVal= L"Thomas LEBRUN";
Tools::Check(piFrameQWriter->SetMetadataByName(L"/xmp/<xmpstruct>MP:RegionInfo/<xmpbag>MPRI:Regions/PersonDisplayName", &value));

Unfortunately, this code throws the follonwing exception: "Additional information: The parameter is incorrect."
If I change the metadata name and tried to use the "Title" property, all works fine.

Anyone see where is my error ?

Posted 29-Oct-12 9:31am
Updated 29-Oct-12 10:34am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You already posted this question here[^]; please use one forum only per question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171018.2 | Last Updated 29 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100