Gets the group with the specified name, in the specified vector handle.
#include "ltvkrn.h"
L_LVKRN_API L_INT L_VecGetGroupByName(pVector, pszName, pGroup)
Pointer to the vector handle.
Character string that contains the name of the group to get.
Pointer to a VECTORGROUP structure to be updated with the group handle, if the group is found.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
If two or more groups in a vector handle have the same name, this function will get the first group found.
For an example, refer to L_VecDeleteGroup.