SysTargetGetVendorName (FUN)

FUNCTION SysTargetGetVendorName : RTS_IEC_RESULT

<description>Returns the vendor name of the target.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysTargetGetVendorName

RTS_IEC_RESULT

Input

pwszName

POINTER TO WSTRING

<param name=”pwszName” type=”OUT”>Pointer to the device name</param>

pnMaxLength

POINTER TO UDINT

<param name=”nMaxLength” type=”IN”>Max length of the name</param>