SysProcessGetCurrentHandle (FUN)

FUNCTION SysProcessGetCurrentHandle : RTS_IEC_HANDLE

<description>Function to get a handle to the current process</description> <result><p>RESULT: Returns the handle of the process actually running by the processor or RTS_INVALID_HANDLE if failed.</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysProcessGetCurrentHandle

RTS_IEC_HANDLE

Input

pResult

POINTER TO RTS_IEC_RESULT

<param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>