SysTaskGetOSPriority
(FUN)
FUNCTION SysTaskGetOSPriority : RTS_IEC_RESULT
<description>Returns the operating system priority of the given task.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskGetOSPriority
RTS_IEC_RESULT
Input
hTask
RTS_IEC_HANDLE
<param name=”hTask” type=”IN”>Handle to task</param>
pulOSPriority
POINTER TO UDINT
<param name=”pulOSPriority” type=”OUT”>Pointer to get operating system priority</param>