http://bugs.winehq.org/show_bug.cgi?id=15638
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2009-10-11 15:06:10 --- Hi, Alexander.
You patch needs some cleanup (including fix for calling convention of course). First of all it isn't allowed to use cpp comment style, you should also add a bunch of defines to winnt.h to avoid use of magic numbers. Do you plan to resend? or I can do it if you don't mind.