http://bugs.winehq.org/show_bug.cgi?id=19495
--- Comment #21 from Dmitry Timoshkov dmitry@codeweavers.com 2009-08-04 23:21:45 ---
You and I both think 0 is a valid handle. But WINE complains. It returns -1 and 1400.
How do you see that Wine complains? Everything runs fine here.
And once again:
Your bug report talks about an invalid window handle, but your test doesn't even try to pass an invalid handle. What are you trying to test?