On Fri Jul 11 15:36:36 2025 +0000, Alexandre Julliard wrote:
This is printing errors on every startup:
00e0:err:plugplay:IoRegisterDeviceInterface Failed to create device L"WINEBTH\\DEVICE\\_org_bluez_hci0&DEE7615062CB", error 0xe000020b. 00e0:err:plugplay:IoRegisterDeviceInterface Failed to create device L"WINEBTH\\DEVICE\\_org_bluez_hci0&D5B1DC5305C7", error 0xe000020b. 00b8:err:plugplay:enumerate_new_device Failed to create or open device L"WINEBTH\\DEVICE\\_org_bluez_hci0&DEE7615062CB", error 0xe000020b. 00b8:err:plugplay:enumerate_new_device Failed to create or open device L"WINEBTH\\DEVICE\\_org_bluez_hci0&D5B1DC5305C7", error 0xe000020b.
Sorry, I didn't see this earlier. This was due to the `started` field in the device extension being incorrectly set to `TRUE` in `bluetooth_radio_add_remote_device`. As a result, `bluetooth_device_create_le_symlink` would prematurely create a phantom device entry in the registry, which would cause `enumerate_new_device` to fail.
On the next startup, `IoRegisterDeviceInterface` would fail as well, as `SetupDiOpenDeviceInfoW` returns `ERROR_NO_SUCH_DEVINST` for phantom devices.
Should be fixed now.