UserMgrObjectGetFirstChild
(FUN)
FUNCTION UserMgrObjectGetFirstChild : RTS_IEC_HANDLE
Iteration interface to get the first child object in the object tree of the specified father object
Limited to the application subtree.
- InOut:
Scope
Name
Type
Comment
Return
UserMgrObjectGetFirstChild
RTS_IEC_HANDLE
Handle to the child object or RTS_INVALID_HANDLE if failed
Input
hFatherObject
RTS_IEC_HANDLE
Handle to the father object
Output
Result
RTS_IEC_RESULT
- Error code
ERR_OK: First child object available
ERR_PARAMETER: Invalid parameter hFatherObject
ERR_NOTINITIALIZED: The user management is not initialized or it is not loaded yet
ERR_NO_ACCESS_RIGHTS: No access rights in IEC context