Deletes a pair of virtual ports:
– by one of the two port names in a pair;
– the user session ID in which a pair was created.
BOOL DeletePairExW( WCHAR *Port, WCHAR * UserSession );
A null-terminated string that defines one of the two port names in a pair you want to delete.
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.