If the handle is of SI_TYPE_ARRAY type, this function returns a handle to the semantic data specified by the index. If the handle is not of SI_TYPE_ARRAY type, this function always returns NULL. This function does not allocate memory for the new handle, so do not try to release it.
Function
- H_SI_DATA LVSemanticArray_GetElement(H_SI_DATA h_si_data, int index)
Parameters
h_si_data
Semantic data handle.
index
The index begins at 0. If the index is greater or equal to the value returned by LVSemanticArray_GetSize, this function will return NULL.
Return Values
Non-zero value
The handle to the semantic data specified by the index in the array.
0
The index exceeds the number of elements. Or the handle is not SI_TYPE_ARRAY type.
See Also