From: Vibhav Pant <vibhavp@gmail.com> --- dlls/windows.devices.bluetooth/bluetoothdevice.c | 5 +++-- dlls/windows.devices.bluetooth/tests/bluetooth.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dlls/windows.devices.bluetooth/bluetoothdevice.c b/dlls/windows.devices.bluetooth/bluetoothdevice.c index 672d69bae01..ca82f963b94 100644 --- a/dlls/windows.devices.bluetooth/bluetoothdevice.c +++ b/dlls/windows.devices.bluetooth/bluetoothdevice.c @@ -396,8 +396,9 @@ static HRESULT WINAPI ble_device_GetTrustLevel( IBluetoothLEDevice *iface, Trust static HRESULT WINAPI ble_device_get_DeviceId( IBluetoothLEDevice *iface, HSTRING *value ) { - FIXME( "(%p, %p): stub!\n", iface, value ); - return E_NOTIMPL; + struct ble_device *impl = impl_from_IBluetoothLEDevice( iface ); + TRACE( "(%p, %p)\n", iface, value ); + return WindowsDuplicateString( impl->id, value ); } static HRESULT WINAPI ble_device_get_Name( IBluetoothLEDevice *iface, HSTRING *value ) diff --git a/dlls/windows.devices.bluetooth/tests/bluetooth.c b/dlls/windows.devices.bluetooth/tests/bluetooth.c index 64035241649..5afe74028f3 100644 --- a/dlls/windows.devices.bluetooth/tests/bluetooth.c +++ b/dlls/windows.devices.bluetooth/tests/bluetooth.c @@ -537,8 +537,8 @@ static void test_IBluetoothLEDevice( int line, IBluetoothLEDevice *device, UINT6 HRESULT hr; hr = IBluetoothLEDevice_get_DeviceId( device, &str ); - todo_wine ok_( __FILE__, line )( hr == S_OK, "got hr %#lx.\n", hr ); - todo_wine ok_( __FILE__, line )( !WindowsIsStringEmpty( str ), "got empty DeviceId value.\n" ); + ok_( __FILE__, line )( hr == S_OK, "got hr %#lx.\n", hr ); + ok_( __FILE__, line )( !WindowsIsStringEmpty( str ), "got empty DeviceId value.\n" ); if (hr == S_OK) trace( "DeviceId: %s\n", debugstr_hstring( str ) ); WindowsDeleteString( str ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10865