SysProcessSetPriority (FUN)

FUNCTION SysProcessSetPriority : RTS_IEC_RESULT

<description>This function sets 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

SysProcessSetPriority

RTS_IEC_RESULT

Input

hProcess

RTS_IEC_HANDLE

<param name=”hProcess” type=”IN”>Handle of the process</param>

ulPriority

UDINT

<param name=”ulPriority” type=”IN”>Process priority</param>