SysProcessGetPriority (FUN)¶
FUNCTION SysProcessGetPriority : RTS_IEC_RESULT
<description>This function retrieves the priority of the process specified by its handle.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
- Scope - Name - Type - Comment - Return - SysProcessGetPriority- RTS_IEC_RESULT- Input - hProcess- RTS_IEC_HANDLE- <param name=”hProcess” type=”IN”>Handle of the process</param> - pulPriority- POINTER TO UDINT - <param name=”pulPriority” type=”OUT”>Pointer to variable being assigned to priority of the process</param> 
