DeletePairW

Deletes a pair of virtual serial ports with a given name. As input it takes name of any virtual serial port in a pair. For example, if you want to remove pair named “COM5”-“COM6”, you can pass either “COM5” or “COM6” as argument to DeletePairW function.

BOOL DeletePairW(
  	WCHAR* Port,
);

Parameters:

  • Port
      A null-terminated string that defines one of the two port names in a pair you want to delete

Return values:

Rreturns TRUE if virtual serial pair was successfully deleted and FALSE otherwise.