UserMgrObjectGetName (FUN)
FUNCTION UserMgrObjectGetName : RTS_IEC_RESULT
Get object name
Limited to the application subtree.
- InOut:
Scope
Name
Type
Comment
Return
UserMgrObjectGetNameRTS_IEC_RESULT- Error code
ERR_OK: Object name is returned
ERR_PARAMETER: Invalid object handle or pszObject = 0 and piMaxLen = 0
ERR_BUFFERSIZE: The buffer was too small
ERR_NO_ACCESS_RIGHTS: No access rights in IEC context
Input
hObjectRTS_IEC_HANDLEHandle to the object
pszObjectPOINTER TO STRING
Pointer to buffer to store the name
piMaxLenPOINTER TO UDINT
Pointer to length of buffer in pszObject. If pszObject is 0, only the length of the object name is returned in piMaxLen