Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclBluetoothRadio.DestroyComPort Method

Destroys the virtual COM port.

Syntax
Pascal
function DestroyComPort(const Number: Word): Integer;
Parameters 
Description 
const Number: Word 
The virtual COM port number.  

If the function succeed the return value is 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.

Copyright (c) 2006-2019. All rights reserved.