Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclBluetoothRadio::HalCreateComPort Method

Creates new virtual COM port.

Syntax
C++
virtual int HalCreateComPort(__int64 Address, GUID Service, unsigned short& Number) = 0;
Parameters 
Description 
__int64 Address 
Remote device address.  
GUID Service 
A service's UUID.  
unsigned short& Number 
If function completed with success the Number parameter contains a just created 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.

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

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