SetBreakW

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

BOOL SetBreakW(
  	WCHAR* Port, bool bBreak
);

Parameters:

  • Port

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

  • 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:

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