https://bugs.winehq.org/show_bug.cgi?id=38576
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Sounds plausible despite some issues like comparing the pointer instead of the variable contents.
The main problem is not that though, I can't see any function that sets the LUID for the interface, so all LUID values are possibly zero and trying to look for an empty LUID will probably hit the first value from GetAdaptersAddresses.
That's why I think it may be easier to try returning ERROR_NOT_SUPPORTED.