SetVirtualPortDsr

The SetVirtualPortDsr method sets DSR value in virtual serial port.

VARIANT_BOOL SetVirtualPortDsr(
VARIANT_BOOL Dsr
);

Parameters
Dsr – New status of DSR signal.

Return Values
If the function succeeds, the return value is TRUE. If the port is already being sniffed or does not exist, the return value is FALSE.

Remarks
This method works only when hardware flow control is not enabled. Besides, this method allows you to set DSR value in virtual serial port forcibly, without waiting for events.