GoFiler Script Reference
Legato v 1.0s Application v 4.18dd
|
Table of Contents | < < Previous | Next >> |
Chapter Twelve — Internet Functions (continued)
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
Table of Contents | < < Previous | Next >> |
© 2007-2017 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. GoFiler is a trademark of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.