https://bugs.winehq.org/show_bug.cgi?id=38090
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- (In reply to Austin English from comment #6)
(In reply to Hans Leidekker from comment #4)
(In reply to Austin English from comment #3)
Created attachment 50761 [details] patch
Does this help?
It would be better to keep the current stub if any flags are set, if not forward to GetFileVersionInfoSize. You don't need the retval variable (and please format flags with %x).
Thanks for the feedback Hans. See attachment 50763 [details]
I'd say one FIXME at the top is sufficient. You don't need the else block because you return from the first branch.