Close Method

The Close method closes serial port.  

BOOL Close(

Return Values
  If the method succeeds, the return value is TRUE. If the port was not closed the return value is FALSE.
Remarks   Use Close method to close serial port. If your program exits without calling Close method, it will be called automatically in serial port object destructor.

See also

Open method