GoFiler Complete

GoFiler Script Reference

 

Legato v 1.0s

Application v 4.18dd

  

 

Chapter TwelveInternet Functions (continued)

SerialSetProperties Function‡

Overview

The SerialSetProperties function sets the properties of an already open serial port.

Syntax/Parameters

Syntax

int = SerialSetProperties ( handle hSerial, string params[] );

Parameters

hSerial

A handle to a Serial Port Object.

Return Value

Returns ERROR_NONE or a formatted error code on failure. Use the GetLastError to retrieve a formatted error code.

Remarks

[difference with setting at start]

[Reinits port

– Terminates pending read and write operations, even if they have not been completed.

– Discards unread characters and frees the internal output and input buffers of the driver associated with the specified resource.

– Reallocates the internal output and input buffers.

Related Functions