From: Vibhav Pant <vibhavp(a)gmail.com> --- dlls/windows.devices.bluetooth/bluetoothadapter.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dlls/windows.devices.bluetooth/bluetoothadapter.c b/dlls/windows.devices.bluetooth/bluetoothadapter.c index 94d2148f8f5..f9ce2df0657 100644 --- a/dlls/windows.devices.bluetooth/bluetoothadapter.c +++ b/dlls/windows.devices.bluetooth/bluetoothadapter.c @@ -373,8 +373,16 @@ static HRESULT WINAPI bluetoothadapter_get_IsCentralRoleSupported( IBluetoothAda static HRESULT WINAPI bluetoothadapter_get_IsAdvertisementOffloadSupported( IBluetoothAdapter *iface, boolean *value ) { - FIXME( "iface %p, value %p stub!\n", iface, value ); - return E_NOTIMPL; + struct winebth_radio_le_info_params info = {0}; + HRESULT hr; + + TRACE( "iface %p, value %p\n", iface, value ); + + *value = FALSE; + if (FAILED((hr = bluetoothadapter_get_le_info( iface, &info )))) + return hr; + *value = !!info.adv_offload; + return S_OK; } static HRESULT WINAPI bluetoothadapter_GetRadioAsync( IBluetoothAdapter *iface, IAsyncOperation_Radio **op ) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7659