Rémi Bernon (@rbernon) commented about dlls/windows.devices.bluetooth/bluetoothdevice.c:
+ static const struct vector_iids iids = { + .vector = &IID_IVector_IInspectable, + .view = &IID_IVectorView_GattDeviceService, + .iterable = &IID_IIterable_GattDeviceService, + .iterator = &IID_IIterator_GattDeviceService, + }; + struct ble_device *impl = impl_from_IBluetoothLEDevice( iface ); + BTH_LE_GATT_SERVICE *buf = NULL; + IVector_IInspectable *vector; + USHORT actual = 0, size = 0, i; + HRESULT hr; + + TRACE( "(%p, %p)\n", iface, services ); + + *services = NULL; + if (FAILED((hr = vector_create( &iids, (void **)&vector )))) return hr; Same nit, and ditto below with SUCCEEDED.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10865#note_139545