wclBluetoothRadioHalEnumComPorts Method |
Enumerates already installed Bluetooth virtual COM
ports.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected abstract int HalEnumComPorts(
out wclVirtualComPort[] ComPorts
)
Protected MustOverride Function HalEnumComPorts (
<OutAttribute> ByRef ComPorts As wclVirtualComPort()
) As Integer
protected:
virtual int HalEnumComPorts(
[OutAttribute] array<wclVirtualComPort>^% ComPorts
) abstract
Parameters
- ComPorts wclVirtualComPort
- 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
null.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks 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).
See Also