| Prototype | |
|
|
| Parameters | |
|
handle to open port |
|
pointer to application initialized MGSL_PARAMS structure |
| Return Value | |
|
parameter set successful |
|
error in MGSL_PARAMS structure |
|
hDevice is invalid |
Configure the SyncLink adapter for communications. The communications mode, asynchronous or HDLC, is specified in the MGSL_PARAMS structure. Other members of the MGSL_PARAMS structure configure the details of each mode.
Calling MgslSetParams disables the transmitter and receiver, discarding any buffered data and canceling and pending receive or transmit requests. The state of the serial control signals DTR and RTS is not affected.
See also: Configuring the Port, MgslGetParams
| Previous | Contents | Next |