SysProcessGetOSId (FUN)

FUNCTION SysProcessGetOSId : UDINT

<description>Function to determine an operating system dependent identification of a process. This identification must be unique in the system at a defined time! SysProcessGetOSId can only applied to the process actually executed or to processes having been generated by SysProcessCreate.</description> <result><p>RESULT: Returns the operating system specific identification of the process</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysProcessGetOSId

UDINT

Input

hProcess

RTS_IEC_HANDLE

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

pResult

POINTER TO RTS_IEC_RESULT

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