UserMgrObjectGetHandle (FUN)
FUNCTION UserMgrObjectGetHandle : RTS_IEC_HANDLE
Retrieve the handle from the given object name
Limited to the application subtree.
- InOut:
Scope
Name
Type
Comment
Return
UserMgrObjectGetHandleRTS_IEC_HANDLECorresponding object handle or RTS_INVALID_HANDLE if failed
Inout Const
pszObjectNameSTRINGName of the object
Output
ResultRTS_IEC_RESULT- Error code
ERR_OK: Object handle could be retrieved
ERR_NO_OBJECT: Object was not found
ERR_NO_ACCESS_RIGHTS: No access rights in IEC context