Sets a target in the target list of the specified vector object's hyperlink.
#include "ltvkrn.h"
L_LVKRN_API L_INT L_VecSetHyperlink(pVector, pObject, uIndex, pTarget)
Pointer to the vector handle.
Pointer to a VECTOROBJECT structure that references a vector object. This function will set a target in the target list of this hyperlinked vector object. If the object does not have a hyperlink, the function fails.
Index to the target item that will be set.
Pointer to a VECTORLINKDESC structure that contains the information on the new target to set.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
A hyperlink must be added to a vector object using the L_VecAddHyperlink function before it can be changed using the L_VecSetHyperlink function.
For an example, refer to L_VecGetHyperlink.