SetStrictBaudrateExW


Enables/disables full baudrate emulation, needs the name of one of the paired virtual ports or user session's ID and boolean parameter that defines if strict baudrate emulation should be enabled or not.

BOOL SetStrictBaudrateExW(
  	WCHAR* Port, WCHAR * UserSession, bool SetStrictBaudrateExW
);

Parameters:

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

  • SetStrictBaudrateExW

    A boolean variable which should be TRUE if you want to enable strict baudrate emulation and FALSE if you want to disable it.

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

Return values:

Returns TRUE if strict baudrate emulation was successfully enabled and FALSE otherwise.