http://bugs.winehq.org/show_bug.cgi?id=28313
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from Marcus Meissner marcus@jet.franken.de 2011-09-08 00:53:03 CDT --- you are right, with size 0 GetUserName is supposed to return 0.
I sent a reverted patch to wine-patches.