SysTaskGetCurrent
(FUN)
FUNCTION SysTaskGetCurrent : RTS_IEC_RESULT
<description>Returns the handle of the current running task.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskGetCurrent
RTS_IEC_RESULT
Input
phTask
POINTER TO RTS_IEC_HANDLE
<param name=”phTask” type=”OUT”>Pointer to task handle</param>