[PATCH] user32: Allow WM_CAPTURECHANGE indicating SetCapture() parameter.

Christopher Thielen cthielen at gmail.com
Mon Nov 23 10:41:12 CST 2015


Ah, I'll fix the comment style.

The behavior being tested is for a WM_CAPTURECHANGED message which has 
its lParam set to the first parameter from the SetCapture() calls (the 
main hWnd in this case).

In order to get the sequence to pass, I need to set lParam as the hWnd's 
value is unpredictable.

Can you recommend another way to go about this?

Thanks for your help.

On 11/23/2015 08:35 AM, Dmitry Timoshkov wrote:
> Christopher Thielen <cthielen at gmail.com> wrote:
>
>> +// Not const in order to set lParam during test
>
> Using c++ comment in Wine code is forbidden. Also it should not be
> needed to test lparam, everything is clear enough, and I'd suggest
> to make the structure 'const'. Looks good to me otherwise.
>



More information about the wine-devel mailing list