DiMgslSetParams


Prototype  
NTSTATUS DiMgslSetParams( void *Handle,
                          PMGSL_PARAMS Params );
Parameters  
Handle
handle to open port
Params
pointer to application initialized MGSL_PARAMS structure
Return Value  
STATUS_SUCCESS
parameter set successful
STATUS_INVALID_PARAMETER
error in MGSL_PARAMS structure
STATUS_INVALID_HANDLE
Handle is invalid

Specify the communication mode and options for a port with an MGSL_PARAMS structure.

This call disables the transmitter and receiver, and discards any buffered data. The state of the serial control signals DTR and RTS is not affected.


Previous Contents Next