SchedGetCurrentTask (FUN)

FUNCTION SchedGetCurrentTask : RTS_IEC_HANDLE

<description>Is called to get the schedule handle of the current running task</description> <param name=”pResult” type=”OUT”>ERR_OK or Error code</param> <result>Handle to the current running task or RTS_INVALID_HANDLE if failed</result>

InOut:

Scope

Name

Type

Return

SchedGetCurrentTask

RTS_IEC_HANDLE

Input

pResult

POINTER TO RTS_IEC_RESULT