DeletePairEx

Deletes a pair of virtual ports by one of the two port names in a pair or the user session ID in which a pair was created.

BOOL DeletePairEx(
  	char *Port, char * UserSession
);

Parameters:

  • Port

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

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