The OnHandFlow event occurs when other application changes flow control parameters of the sniffed serial port.
|LONG *ControlHandShake,||// Handshake control parameter|
|LONG *FlowReplace,||// Flow control parameter|
|LONG *XOnLimit,||// Flow control parameter|
|LONG *XOffLimit||// Flow control parameter|
ControlHandShake [out] ControlHandShake is a set of flags that defines the modem lines that are used for flow control. Can be combination of the following flags:
|SERIAL_DTR_CONTROL||Enables the DTR line when the device is open and leaves it on.|
|SERIAL_DTR_HANDSHAKE||Use the modem signal DTR for input flow control. For the real serial port the DTR line is cleared by the controller if the received buffer reaches the programmed high water mark.|
See also description of XonLimit and XoffLimit.
|SERIAL_CTS_HANDSHAKE||Use the modem signal CTS, DCD or DSR respectively for output flow control. For the real serial port if the corresponding modem line(s) found as cleared, the controller will hold data transmission.|
|SERIAL_DSR_SENSITIVITY||Ignore any character arriving when the DSR line is not set.|
|SERIAL_ERROR_ABORT||If there exists an error condition the driver stops reading and writing from or to this port.|
|[out] FlowReplace is a set of flags defining flow control stuff. Can be combination of the following flags:|
|[out] Minimum number of bytes allowed in the input buffer before flow control is activated to inhibit the sender.|
|[out] Maximum number of bytes allowed in the input buffer before flow control is activated to allow transmission by the sender.|