Ets_Obj_Attr_Desc_Nth_Get()
Abstract
Get the description of the nth attribute.
Syntax
Ets_Obj_Attr_Desc_Nth_Get (obj_hndl, n, desc_ptr)
| Argument | Type | Description |
|---|---|---|
obj_hndl_ptr |
EtsT_Obj_Handle |
handle to the object. |
n |
int |
the index of the attribute needed |
desc_ptr |
EtsT_Obj_Attr_Desc * |
pointer to an EtsT_Obj_Attr_Desc struct |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the attribute exists and is valid. EtsC_Compcode_Failure otherwise.
Header
ets_api_obj.h
Details
This function takes the handle to an object and gets description of the nth attribute by filling the desc_ptr, a pointer to an EtsT_Obj_Attr_Desc struct.