Function – SetStrictBaudrate

SetStrictBaudrate enables/disables full baudrate emulation.

It needs the name of one of the paired virtual ports and boolean parameter that defines if strict baudrate emulation should be enabled or not.

BOOL SetStrictBaudrate(
  	char* Port, 	// name of the virtual serial port
  	bool SetStrictBaudrate 	// enables/disables emulation

Parameters :

  • Port : A null-terminated string that defines one of the two port names in a pair.
  • SetStrictBaudrate : A boolean variable which should be TRUE if you want to enable strict baudrate emulation and FALSE if you want to disable it

Return values : SetStrictBaudrate returns TRUE if strict baudrate emulation was successfully enabled and FALSE otherwise