Gets the group at the specified index in the specified vector handle.
#include "ltvkrn.h"
L_LVKRN_API L_INT L_VecGetGroupByIndex(pVector, nIndex, pGroup)
Pointer to the vector handle.
Index of the requested group. This index is zero-based. Possible values are between 0 and L_VecGetGroupCount - 1.
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. |
To determine the number of groups in a vector handle, call L_VecGetGroupCount.
To get a group, given the name of the group, use L_VecGetGroupByName.
To get group information for a specific group, call L_VecGetGroup.
For an example, refer to L_VecGetGroupCount.