https://bugs.winehq.org/show_bug.cgi?id=36387
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Nikolay Sivov from comment #1)
Created attachment 48439 [details] 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).
I got a critical section timeout on the 463rd try of xmllite: + grep err:ntdll:RtlpWaitForCriticalSection xml-git-normal/xmllite-loop-463.txt err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0041, blocked by 0042, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0041, blocked by 0042, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0041, blocked by 0042, retrying (60 sec) + exit 1
real 169m19.493s user 13m38.288s sys 4m33.669s