Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclBluetoothRadio::HalEnumComPorts Method

Enumerates already installed Bluetooth virtual COM ports.

Syntax
C++
virtual int HalEnumComPorts(wclVirtualComPorts& ComPorts) = 0;
Parameters 
Description 
wclVirtualComPorts& ComPorts 
If the function completed with success contains array of all installed Bluetooth virtual COM ports. If not one vCOM was found the value of the ComPorts parameter can be nil.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The function enumerates all installed Bluetooth virtual COM ports. The list includes vCOMs created by the application and vCOMs created by an user outside the application.  

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

 

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