From Tracker Software PDF SDK
Sets named destination with given name with new value. Note that if the given named destination is not in the named destination list it will be created.
HRESULT SetNamedDestination([in] BSTR sDestName, [in] PXC_Destination* stDest);
- [in] Name of the named destination that needs to be set with new data.
- [in] Pointer to PXC_Destination containing new data of the given destination.
Returns S_OK if operation was successful or error code in other cases.