IecTaskGetFirst (FUN)

 

FUNCTION IecTaskGetFirst : RTS_IEC_HANDLE

Get the first IEC task in the specified application

InOut:

Scope

Name

Type

Comment

Return

IecTaskGetFirst

RTS_IEC_HANDLE

Returns the handle to the first IEC task

Input

pszAppName

POINTER TO STRING

Application name

pResult

POINTER TO RTS_IEC_RESULT

Pointer that returns the runtime system error code (see CmpErrors.library)