The SetBreak method emulates physical line break, in fact this option drops all incoming signal lines (DCD, DSR, CTS, RI) and data from one port is not transferred to another.


BOOL SetBreak(

      BOOL bBreak     

);

 

Parameters:

  • bBreak : If value is set to TRUE then method emulates physical line break and if value is set to FALSE then method restores connection.

Return Values : If the function succeeds, the return value is TRUE, otherwise FALSE.

Note: Method available for Windows NT4/2000/XP/2003/Vista only. Besides, the value of this parameter becomes default after deleting virtual port from system.