Ets_Obj_List_Index_Get()
Abstract
Returns the index of the first object handle in the object list that is equivalent to the specified object handle.
Syntax
Ets_Obj_List_Index_Get (obj_lptr, obj_hndl)
| Argument | Type | Description |
|---|---|---|
obj_lptr |
EtsT_Obj_List * |
Object list of interest. |
obj_hndl |
EtsT_Obj_Handle |
Object handle of which to obtain the index. |
Return Type
int
The index value corresponding to the specified object list and object handle.
Header
ets_api_obj.h
Details
This function returns the index of the first object handle in the object list that is equivalent to the specified object handle. If the object is not found in the list, -1 is returned.