Christopher Thielen cthielen@gmail.com wrote:
Hm. If I don't specify '|lparam', won't it avoid checking the lParam entirely?
It's not that I'm working around the lParam check, it's that I specifically _want_ the lParam check to ensure its value equals hWnd. That's the behavior for which I'm hoping to prevent a regression. Without the patch, Wine sets the lParam to the wrong value.
So, should I keep it how it is then minus the comment syntax? Or perhaps move the sequence into being simple variable within the function as setting a value in a potentially shared struct is a bit awkward?
Isn't the original problem that you are trying to solve about Wine not sending WM_CAPTURECHANGED message at all?