Virtual Serial Port ActiveX Control - Delete Method

The Delete method deletes virtual serial port.  

BOOL Delete(
  void  
);
Return Values

  If the function succeeds, the return value is TRUE. If the port was not created or it is currently used by other application, the return value is FALSE.

  Remarks

  Use Delete method to delete created virtual serial port. If your program exits without calling Delete method, it will be called automatically in virtual serial port object destructor.


See also

CreatePort method , DeleteOnExit property , Attach method