From Tracker Software PDF SDK
Revision as of 06:20, 21 August 2015 by Lzcat
Replace specified element of array with new variant with type
PVT_Name and specified value.
HRESULT Arr_SetName([in] ULONG nPos, [in] LPWSTR sVal);
- [in] Specifies index of element to replace. If it is greater or equal to array size function will return
- [in] Pointer to null-terminated Unicode string, which will be converted to name value.
- Please note that this function has much lower performance than Arr_SetNameA because Unicode >> Raw data >> name conversion, so it is strongly not recommended to use it when set 'common' pdf names
Returns S_OK if operation was successful or error code in other cases.