Rémi Bernon (@rbernon) commented about dlls/windows.devices.bluetooth/advertisement.c:
+} + +static HRESULT WINAPI adv_watcher_factory_GetTrustLevel( IActivationFactory *iface, TrustLevel *level ) +{ + FIXME( "(%p, %p): stub!\n", iface, level ); + return E_NOTIMPL; +} + +static HRESULT adv_watcher_create( IBluetoothLEAdvertisementWatcher **watcher ); + +static HRESULT WINAPI adv_watcher_factory_ActivateInstance( IActivationFactory *iface, IInspectable **instance ) +{ + TRACE( "(%p, %p)\n", iface, instance ); + return adv_watcher_create( (IBluetoothLEAdvertisementWatcher **)instance ); +} + Moving the factory below, like in other WinRT classes implemented so far, removes the need to have these forward declarations.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8654#note_112609