Value of fDtrControl member of DCB structure changed.
| Visual Basic | Sub OnDtrControl(Value As Long)
|
|---|---|
| Visual C++ (MFC) | void OnDtrControl(long Value);
|
Value
Contains value of fDtrControl member of DCB structure.
The DTR (data-terminal-ready) flow control. This member can be one of the following values:
0x00 (DTR_CONTROL_DISABLE) Disables the DTR line when the device is opened and leaves it disabled.
0x01 (DTR_CONTROL_ENABLE) Enables the DTR line when the device is opened and leaves it on.
0x02 (DTR_CONTROL_HANDSHAKE) Enables DTR handshaking. If handshaking is enabled, it is an error for the application to adjust the line by using the EscapeCommFunction() function.