UserMgrObjectGetNextChild (FUN)
FUNCTION UserMgrObjectGetNextChild : RTS_IEC_HANDLE
Iteration interface to get the next child object in the object tree of the specified father object. Must be started with UserMgrObjectGetFirstChild()
Limited to the application subtree.
- InOut:
Scope
Name
Type
Comment
Return
UserMgrObjectGetNextChildRTS_IEC_HANDLEHandle to the next child object or RTS_INVALID_HANDLE if failed
Input
hFatherObjectRTS_IEC_HANDLEHandle to the father object
hPrevChildRTS_IEC_HANDLEHandle to the previous child object retrieved by UserMgrObjectGetFirstChild() or subsequent calls of UserMgrObjectGetNextChild()
Output
ResultRTS_IEC_RESULT- Error code
ERR_OK: Next child object available
ERR_PARAMETER: Invalid parameter hFatherObject or hPrevChildObject
ERR_NOTINITIALIZED: The user management is not initialized or it is not loaded yet
ERR_NO_ACCESS_RIGHTS: No access rights in IEC context