MgslSetSerialSignals


Prototype  
ULONG MgslSetSerialSignals( HANDLE hDevice,
                            UCHAR NewSignals );
Parameters  
hDevice
handle to open device
NewSignals
byte that describes the state of the V.24 control signals
Return Value  
ERROR_SUCCESS (0)
mode set successful
ERROR_INVALID_HANDLE
hDevice is invalid

This function sets the states of the V.24 controls signals RTS and DTR as specified by the NewSignals parameter using the SerialSignal_XXX constants. All other bits in NewSignals other than the two bits describing RTS and DTR are ignored.

See also: Controlling and Monitoring Serial Signals, MgslGetSerialSignals


Previous Contents Next