Ets_Obj_From_Hname_Get()
Abstract
Returns the handle of an object, based on the object's full hierarchical name.
Syntax
Ets_Obj_From_Hname_Get (mdl_hndl, hname)
| Argument | Type | Description |
|---|---|---|
mdl_hndl |
EtsT_Model_Handle |
Handle of the network model whose top subnet will be used as the starting point to locate the object. |
hname |
const char * |
The full hierarchical name of the object. |
Return Type
EtsT_Obj_Handle
The valid object handle whose full hierarchical name is equal to hname, or an Invalid object handle if no object is found with the specified name.
Header
ets_api_obj.h
Details
This function returns the handle of an object based on the object's full hierarchical name. If the object is not found in all hierarchical subnets of the network, an Invalid object handle will be returned.