27 Apr
2015
27 Apr
'15
5:31 a.m.
Dmitry Timoshkov <dmitry(a)baikal.ru> writes:
@@ -2931,7 +2931,10 @@ static BOOL peek_message( MSG *msg, HWND hwnd, UINT first, UINT last, UINT flags else peek_message( msg, info.msg.hwnd, info.msg.message, info.msg.message, flags | PM_REMOVE, changed_mask ); - continue; + + /* give a chance to real message to arrive */ + HeapFree( GetProcessHeap(), 0, buffer ); + return FALSE;
Why do you need to leave the function instead of checking for further messages? What is the issue you are seeing? -- Alexandre Julliard julliard(a)winehq.org