SupervisorOperationGetEntry (FUN)

FUNCTION SupervisorOperationGetEntry : POINTER TO SupervisorEntry

Returns the SupervisorEntry of a given operation handle

Error code:
  • ERR_OK: The SupervisorEntry was successfully retrieved

  • ERR_INVALID_HANDLE: The handle to the operation is invalid

  • ERR_PARAMETER: The handle to the operation is invalid

InOut:

Scope

Name

Type

Comment

Return

SupervisorOperationGetEntry

POINTER TO SupervisorEntry

Pointer to SupervisorEntry of the given operation handle or NULL in case of an error

Input

hOperation

RTS_IEC_HANDLE

Handle to the operation

pResult

POINTER TO RTS_IEC_RESULT

Pointer to error code