The OnLineControl event occurs when other application changes line control parameters for virtual serial port.
OnLineControl( BYTE StopBits, // Stop Bits BYTE Parity, // Parity BYTE WordLength // Data Bits );
- StopBits [out] : Number of stop bits to be used. This member can be one of the following values:
Value Meaning 0 1 stop bit 1 1.5 stop bits 2 2 stop bits
- Parity [out] : Parity scheme to be used. This member can be one of the following values:
Value Meaning 0 No parity 1 Odd 2 Even 3 Mark 4 Space
- WordLength [out] : Number of bits in the bytes transmitted and received.