As before, I told that @zhiyi would be a good person to ask for review here.
I also made some minor changes to added test which no longer needs to be aware of some Wine drivers possibly being unable to serve the adapter enumeration request. CI test failures are probably unrelated; my own test appears to pass everywhere it's actually executed (just like other `driver.c` tests) and Testbot seems to have no issues there.