The Delete method deletes a virtual serial port.

BOOL Delete(

      void      

);

 

Return Values: If the port was successfully removed, the return value is TRUE. If the port did not exist or was removed earlier, the return value is FALSE.


Notes:
1. Being opened by some other application won’t prevent a virtual serial port from being removed.
2. If your program exits without calling Delete method, it will be called automatically in virtual serial port object destructor.