Enables/disables line break emulation in virtual serial ports.

BOOL SetBreakEx(
  	CHAR* Port, CHAR * UserSession, bool bBreak


  • Port

    A null-terminated string that defines one of the two port names in a pair.

  • UserSession

    User session’s ID in which the pair of virtual ports was created.
    If UserSession is empty, a ports pair was created globally and is visible to all users.To know how to get the user session’s ID, refer to GetUserSession.

  • bBreak

    A boolean variable should be TRUE if you want to emulate connection break and FALSE if you want to re-establish it.

Return values:
Returns TRUE if line break emulation was successfully enabled and FALSE otherwise.