On Mon Jul 10 01:45:21 2023 +0000, Zhao Yi wrote:
> Thank you for reviewing my code and I will fix the above issue later.
There is no need to rush this. Please take your time to carefully review the code by yourself before submitting it for review. Look out for coding style issues and review each line you've changed. Overall, the fix looks good. Thanks for your work.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3114#note_38455
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/syslink.c:
> }
>
> defwndproc_counter++;
> - ret = DefWindowProcW(hwnd, message, wParam, lParam);
> + switch(message)
You only need to record nml->item.iLink so you don't really need to process the message. So you can move this switch statement before defwndproc_counter++ and let the DefWindowProcW() handle it. Basically, add a switch statement, record nml->item.iLink from WM_NOTIFY, and break on other messages.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3114#note_38452