SchedGetTaskEventByHandle (FUN)

FUNCTION SchedGetTaskEventByHandle : RTS_IEC_HANDLE

<description>

Function returns the handle to the task event. With this event a task can be activaed externally, e.g. for external triggered event tasks. The event can be sent by SysEventSet(EventHandle);

</description> <param name=”hSchedTask” type=”IN”>Scheduler task handle</param> <param name=”pResult” type=”OUT”>ERR_OK or Error code</param> <result>Event handle. Can be used with SysEventSet(hEvent) of the SysEvent.library to wakeup the task</result>

InOut:

Scope

Name

Type

Return

SchedGetTaskEventByHandle

RTS_IEC_HANDLE

Input

hSchedTask

RTS_IEC_HANDLE

pResult

POINTER TO RTS_IEC_RESULT