The SetDCD method sets or clears DCD (carrier detect) signal on virtual serial port.
|
|||||||||||
Parameters |
|||||||||||
| On | |||||||||||
| [in] Determines setting or clearance DCD signal of a virtual serial port. This parameter can be any of the following values: | |||||||||||
|
|||||||||||
Return Values |
|||||||||||
| If the function succeeds, the return value is TRUE. If the DCD signal was not set/cleared the return value is FALSE. | |||||||||||
Note: this method works only when DCD signal is not connected to DSR. To resolve this problem, please, refer to SetWiring method section.
See also: