Bluetooth Framework C++ Edition

◆ HalCreateComPort()

virtual int HalCreateComPort ( const __int64  Address,
const GUID &  Service,
unsigned short &  Number 
)
protectedpure virtual

Creates new virtual COM port.

Parameters
AddressRemote device address.
ServiceA service's UUID.
NumberIf function completed with success the Number parameter contains a just created 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.

A derived class must override this method to provide information about supported Bluetooth driver (API).