SysTaskGetContext (FUN)
FUNCTION SysTaskGetContext : RTS_IEC_RESULT
<description>Get the current register context of the task. Task must be in suspended mode!</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskGetContextRTS_IEC_RESULTInput
hTaskRTS_IEC_HANDLE<param name=”hTask” type=”IN”>Handle to task</param>
pContextPOINTER TO RegContext
<param name=”pContext” type=”OUT”>Pointer to context</param>