Rémi Bernon (@rbernon) commented about dlls/windows.devices.bluetooth/bluetoothadapter.c:
static HRESULT WINAPI bluetoothadpter_get_BluetoothAddress( IBluetoothAdapter *iface, UINT64 *addr ) { - FIXME( "iface %p, addr %p stub!\n", iface, addr ); - return E_NOTIMPL; + struct bluetoothadapter *impl = impl_from_IBluetoothAdapter( iface ); + BLUETOOTH_RADIO_INFO info = {0}; + DWORD ret; + + TRACE( "iface %p, addr %p\n", iface, addr ); + + info.dwSize = sizeof( info ); + ret = BluetoothGetRadioInfo( impl->radio, &info ); + if (!ret) /* This uses the opposite byte-order of bluetoothapis. */ + *addr = RtlUlonglongByteSwap( info.address.ullLong ) >> 16;
Maybe would be nice to show this in the tests? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10006#note_128528