From: Hans Leidekker hans@codeweavers.com
--- include/windows.devices.bluetooth.rfcomm.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/include/windows.devices.bluetooth.rfcomm.idl b/include/windows.devices.bluetooth.rfcomm.idl index aeb538f13a8..df285b906f7 100644 --- a/include/windows.devices.bluetooth.rfcomm.idl +++ b/include/windows.devices.bluetooth.rfcomm.idl @@ -82,6 +82,18 @@ namespace Windows.Devices.Bluetooth.Rfcomm { HRESULT GetDeviceSelector([in] Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId *id, [out] [retval] HSTRING *selector); }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId), + uuid(22629204-7e02-4017-8136-da1b6a1b9bbf) + ] + interface IRfcommServiceId : IInspectable + { + [propget] HRESULT Uuid([out, retval] GUID *value); + HRESULT AsShortId([out, retval] UINT32 *short_id); + HRESULT AsString([out, retval] HSTRING *id); + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), marshaling_behavior(agile),