TwclBluetoothRadio.DestroyComPort(Word) Method
Destroys the virtual COM port.
public function DestroyComPort(const Number: Word): Integer;
Parameters
- Number
- Type: Word
The virtual COM port number.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
The function can destroy a vCOM created by the application only. It can not destroy the vCOM created outside the application.