http://bugs.winehq.org/show_bug.cgi?id=36387
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 48439 --> http://bugs.winehq.org/attachment.cgi?id=48439 patch
To be absolutely safe you needed 0x50 bytes :). Please try this one. I dumped returned buffer, some fields are obvious, some not. One DWORD gets different value on each run, no idea what it means (could be a temporary window handle or something else).