Return Value
Return
Meaning
>= 0
Index of the newly added segment. The function was successful.
<0
An error occurred. Refer to Error Codes