diff --git a/internal/winmd/metadata/Windows.AI.winmd b/internal/winmd/metadata/Windows.AI.winmd index f5f9238..ed903dc 100644 Binary files a/internal/winmd/metadata/Windows.AI.winmd and b/internal/winmd/metadata/Windows.AI.winmd differ diff --git a/internal/winmd/metadata/Windows.ApplicationModel.winmd b/internal/winmd/metadata/Windows.ApplicationModel.winmd index 12275da..4d0fabf 100644 Binary files a/internal/winmd/metadata/Windows.ApplicationModel.winmd and b/internal/winmd/metadata/Windows.ApplicationModel.winmd differ diff --git a/internal/winmd/metadata/Windows.Data.winmd b/internal/winmd/metadata/Windows.Data.winmd index e29ccaf..4b40ddd 100644 Binary files a/internal/winmd/metadata/Windows.Data.winmd and b/internal/winmd/metadata/Windows.Data.winmd differ diff --git a/internal/winmd/metadata/Windows.Devices.winmd b/internal/winmd/metadata/Windows.Devices.winmd index f218d22..1bef7d2 100644 Binary files a/internal/winmd/metadata/Windows.Devices.winmd and b/internal/winmd/metadata/Windows.Devices.winmd differ diff --git a/internal/winmd/metadata/Windows.Foundation.winmd b/internal/winmd/metadata/Windows.Foundation.winmd index 718483c..0d879db 100644 Binary files a/internal/winmd/metadata/Windows.Foundation.winmd and b/internal/winmd/metadata/Windows.Foundation.winmd differ diff --git a/internal/winmd/metadata/Windows.Gaming.winmd b/internal/winmd/metadata/Windows.Gaming.winmd index 5c70e1c..dfff26f 100644 Binary files a/internal/winmd/metadata/Windows.Gaming.winmd and b/internal/winmd/metadata/Windows.Gaming.winmd differ diff --git a/internal/winmd/metadata/Windows.Globalization.winmd b/internal/winmd/metadata/Windows.Globalization.winmd index 3356975..3ddce37 100644 Binary files a/internal/winmd/metadata/Windows.Globalization.winmd and b/internal/winmd/metadata/Windows.Globalization.winmd differ diff --git a/internal/winmd/metadata/Windows.Graphics.winmd b/internal/winmd/metadata/Windows.Graphics.winmd index 560c078..f07ccc8 100644 Binary files a/internal/winmd/metadata/Windows.Graphics.winmd and b/internal/winmd/metadata/Windows.Graphics.winmd differ diff --git a/internal/winmd/metadata/Windows.Management.Setup.winmd b/internal/winmd/metadata/Windows.Management.Setup.winmd new file mode 100644 index 0000000..75e1b0b Binary files /dev/null and b/internal/winmd/metadata/Windows.Management.Setup.winmd differ diff --git a/internal/winmd/metadata/Windows.Management.winmd b/internal/winmd/metadata/Windows.Management.winmd index c59b754..67cca1a 100644 Binary files a/internal/winmd/metadata/Windows.Management.winmd and b/internal/winmd/metadata/Windows.Management.winmd differ diff --git a/internal/winmd/metadata/Windows.Media.winmd b/internal/winmd/metadata/Windows.Media.winmd index c046744..d2309af 100644 Binary files a/internal/winmd/metadata/Windows.Media.winmd and b/internal/winmd/metadata/Windows.Media.winmd differ diff --git a/internal/winmd/metadata/Windows.Networking.winmd b/internal/winmd/metadata/Windows.Networking.winmd index 74487cb..a06a638 100644 Binary files a/internal/winmd/metadata/Windows.Networking.winmd and b/internal/winmd/metadata/Windows.Networking.winmd differ diff --git a/internal/winmd/metadata/Windows.Perception.winmd b/internal/winmd/metadata/Windows.Perception.winmd index 19d2a8a..b169dc7 100644 Binary files a/internal/winmd/metadata/Windows.Perception.winmd and b/internal/winmd/metadata/Windows.Perception.winmd differ diff --git a/internal/winmd/metadata/Windows.Security.winmd b/internal/winmd/metadata/Windows.Security.winmd index a8cbf78..9d995af 100644 Binary files a/internal/winmd/metadata/Windows.Security.winmd and b/internal/winmd/metadata/Windows.Security.winmd differ diff --git a/internal/winmd/metadata/Windows.Services.winmd b/internal/winmd/metadata/Windows.Services.winmd index a891537..bb35c75 100644 Binary files a/internal/winmd/metadata/Windows.Services.winmd and b/internal/winmd/metadata/Windows.Services.winmd differ diff --git a/internal/winmd/metadata/Windows.Storage.winmd b/internal/winmd/metadata/Windows.Storage.winmd index b7eaa9d..1179309 100644 Binary files a/internal/winmd/metadata/Windows.Storage.winmd and b/internal/winmd/metadata/Windows.Storage.winmd differ diff --git a/internal/winmd/metadata/Windows.System.winmd b/internal/winmd/metadata/Windows.System.winmd index 166131d..1c0a96b 100644 Binary files a/internal/winmd/metadata/Windows.System.winmd and b/internal/winmd/metadata/Windows.System.winmd differ diff --git a/internal/winmd/metadata/Windows.UI.Xaml.winmd b/internal/winmd/metadata/Windows.UI.Xaml.winmd index c727da4..6daeed9 100644 Binary files a/internal/winmd/metadata/Windows.UI.Xaml.winmd and b/internal/winmd/metadata/Windows.UI.Xaml.winmd differ diff --git a/internal/winmd/metadata/Windows.UI.winmd b/internal/winmd/metadata/Windows.UI.winmd index cf6cb06..9611d7a 100644 Binary files a/internal/winmd/metadata/Windows.UI.winmd and b/internal/winmd/metadata/Windows.UI.winmd differ diff --git a/internal/winmd/metadata/Windows.Web.winmd b/internal/winmd/metadata/Windows.Web.winmd index bd0e2fa..2a0dbb5 100644 Binary files a/internal/winmd/metadata/Windows.Web.winmd and b/internal/winmd/metadata/Windows.Web.winmd differ diff --git a/windows/devices/bluetooth/bluetoothledevice.go b/windows/devices/bluetooth/bluetoothledevice.go index 78a09c9..0b41453 100644 --- a/windows/devices/bluetooth/bluetoothledevice.go +++ b/windows/devices/bluetooth/bluetoothledevice.go @@ -40,13 +40,6 @@ func (impl *BluetoothLEDevice) RemoveConnectionStatusChanged(token foundation.Ev return v.RemoveConnectionStatusChanged(token) } -func (impl *BluetoothLEDevice) Close() error { - itf := impl.MustQueryInterface(ole.NewGUID(foundation.GUIDIClosable)) - defer itf.Release() - v := (*foundation.IClosable)(unsafe.Pointer(itf)) - return v.Close() -} - func (impl *BluetoothLEDevice) GetGattServicesAsync() (*foundation.IAsyncOperation, error) { itf := impl.MustQueryInterface(ole.NewGUID(GUIDiBluetoothLEDevice3)) defer itf.Release() @@ -68,6 +61,13 @@ func (impl *BluetoothLEDevice) GetBluetoothDeviceId() (*BluetoothDeviceId, error return v.GetBluetoothDeviceId() } +func (impl *BluetoothLEDevice) Close() error { + itf := impl.MustQueryInterface(ole.NewGUID(foundation.GUIDIClosable)) + defer itf.Release() + v := (*foundation.IClosable)(unsafe.Pointer(itf)) + return v.Close() +} + const GUIDiBluetoothLEDevice string = "b5ee2f7b-4ad8-4642-ac48-80a0b500e887" const SignatureiBluetoothLEDevice string = "{b5ee2f7b-4ad8-4642-ac48-80a0b500e887}" @@ -262,6 +262,29 @@ func (v *iBluetoothLEDevice5) VTable() *iBluetoothLEDevice5Vtbl { return (*iBluetoothLEDevice5Vtbl)(unsafe.Pointer(v.RawVTable)) } +const GUIDiBluetoothLEDevice6 string = "ca7190ef-0cae-573c-a1ca-e1fc5bfc39e2" +const SignatureiBluetoothLEDevice6 string = "{ca7190ef-0cae-573c-a1ca-e1fc5bfc39e2}" + +type iBluetoothLEDevice6 struct { + ole.IInspectable +} + +type iBluetoothLEDevice6Vtbl struct { + ole.IInspectableVtbl + + GetConnectionParameters uintptr + GetConnectionPhy uintptr + RequestPreferredConnectionParameters uintptr + AddConnectionParametersChanged uintptr + RemoveConnectionParametersChanged uintptr + AddConnectionPhyChanged uintptr + RemoveConnectionPhyChanged uintptr +} + +func (v *iBluetoothLEDevice6) VTable() *iBluetoothLEDevice6Vtbl { + return (*iBluetoothLEDevice6Vtbl)(unsafe.Pointer(v.RawVTable)) +} + const GUIDiBluetoothLEDeviceStatics2 string = "5f12c06b-3bac-43e8-ad16-563271bd41c2" const SignatureiBluetoothLEDeviceStatics2 string = "{5f12c06b-3bac-43e8-ad16-563271bd41c2}"