wclBluetoothRadioEnumComPorts Method |
Enumerates already installed Bluetooth virtual COM
ports.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int EnumComPorts(
out wclVirtualComPort[] ComPorts
)
Public Function EnumComPorts (
<OutAttribute> ByRef ComPorts As wclVirtualComPort()
) As Integer
public:
int EnumComPorts(
[OutAttribute] array<wclVirtualComPort>^% ComPorts
)
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.
See Also