Bluetooth Framework C++ Edition

◆ DestroyComPort()

int DestroyComPort ( const unsigned short  Number)

Destroys the virtual COM port.

Parameters
NumberThe virtual COM port number.
Returns
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.