SysComSetSettings (FUN)

FUNCTION SysComSetSettings : RTS_IEC_RESULT

<description>Set the parameter of the interface specified by handle. Use SysComSetSettings2()! This function should only be used for backward compatibility! </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysComSetSettings

RTS_IEC_RESULT

Input

hCom

RTS_IEC_HANDLE

<param name=”hCom” type=”IN”>Handle to com port</param>

pSettings

POINTER TO SysComSettings

<param name=”pSettings” type=”IN”>Pointer to new settings</param>

pSettingsEx

POINTER TO SysComSettingsEx

<param name=”pSettingsEx” type=”IN”>OPTIONAL: Pointer to extended settings or 0</param>