OnDtrControl Event
Value of fDtrControl member of DCB structure changed.
Syntax
Visual Basic .NET | Sub OnDtrControl(ByVal Value As UInt32) |
---|---|
Visual C# | void OnDtrControl(UInt32 Value); |
Parameters
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.