SysGraphicLightGetDisplayDeviceContext (FUN)

FUNCTION SysGraphicLightGetDisplayDeviceContext : RTS_IEC_HANDLE

<description>

Provides a handle to the basic display context. If you do not use this handle any more, release it using

<see>SysGraphicLightReleaseDisplayDeviceContext</see>

</description>

<param name=”udiDisplayID” type=”IN”>Optional parameter for indicating different display contexts by ID. If only one display is used the parameter is always 0. </param> <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param> <result><p>RESULT: Handle to the display context or RTS_INVALID_HANDLE if failed.</p></result>

InOut:

Scope

Name

Type

Return

SysGraphicLightGetDisplayDeviceContext

RTS_IEC_HANDLE

Input

udiDisplayID

UDINT

pResult

POINTER TO RTS_IEC_RESULT