Rémi Bernon (@rbernon) commented about dlls/windows.devices.bluetooth/bluetoothdevice.c:
+{ + return CONTAINING_RECORD( iface, struct ble_device, IBluetoothLEDevice_iface ); +} + +static HRESULT WINAPI ble_device_QueryInterface( IBluetoothLEDevice *iface, REFIID iid, void **out ) +{ + struct ble_device *impl = impl_from_IBluetoothLEDevice( iface ); + + TRACE( "(%p, %s, %p)\n", iface, debugstr_guid( iid ), out ); + + if (IsEqualGUID( iid, &IID_IUnknown ) || + IsEqualGUID( iid, &IID_IInspectable ) || + IsEqualGUID( iid, &IID_IAgileObject ) || + IsEqualGUID( iid, &IID_IBluetoothLEDevice )) + { + IBluetoothLEDevice_AddRef(( *out = &impl->IBluetoothLEDevice_iface )); Nit, it is usually written this way instead:
```suggestion:-0+0 IBluetoothLEDevice_AddRef( (*out = &impl->IBluetoothLEDevice_iface) ); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10865#note_139537