17 Oct
2024
17 Oct
'24
3:05 a.m.
Elizabeth Figura (@zfigura) commented about dlls/winebth.sys/winebth.c:
return IoCallDriver( bus_pdo, irp ); }
+static NTSTATUS query_id(const struct bluetooth_radio *ext, IRP *irp, BUS_QUERY_ID_TYPE type ) +{ + struct string_buffer buf = {0}; + + TRACE( "(%p, %p, %s)\n", ext, irp, debugstr_BUS_QUERY_ID_TYPE( type ) ); + switch (type) + { + case BusQueryInstanceID: + append_id(&buf, L"%p", ext->radio); + break; + case BusQueryCompatibleIDs: + append_id( &buf, L"WINEBTH\\WINE_COMP_BTH" );
What's this for? Why not use the compatible IDs that Windows exposes? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6621#note_85270