wclBluetoothRadioHalCreateComPort Method |
Creates new virtual COM port.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected abstract int HalCreateComPort(
long Address,
Guid Service,
out ushort Number
)
Protected MustOverride Function HalCreateComPort (
Address As Long,
Service As Guid,
<OutAttribute> ByRef Number As UShort
) As Integer
protected:
virtual int HalCreateComPort(
long long Address,
Guid Service,
[OutAttribute] unsigned short% Number
) abstract
Parameters
- Address Int64
- Remote device address.
- Service Guid
- A service's UUID.
- Number UInt16
- If function completed with success the
Number parameter contains a just created virtual COM port
number.
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 A derived class must override this method to provide
information about supported Bluetooth driver (API).
See Also