SetBreak

SetBreak enables/disables line break emulation in virtual serial ports.

BOOL SetBreak(
  char* Port, // name of the virtual serial port
  bool bBreak // enables/disables line break
);

Parameters:

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

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

Return values:

SetBreak returns TRUE if line break emulation was successfully enabled and FALSE otherwise