https://bugs.winehq.org/show_bug.cgi?id=38576 --- Comment #4 from Riccardo <c10ud.dev(a)gmail.com> --- (In reply to Bruno Jesus from comment #3)
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.
I tried comparing the ptr since the they were all null, but now I get why :) returning ERROR_INVALID_PARAMETER seems to be just enough -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.