Re: [PATCH v9 0/2] MR3114: comctl32: Make sure the type is sLink to increase id.
10 Jul
2023
10 Jul
'23
1:52 a.m.
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
891
Age (days ago)
891
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zhiyi Zhang (@zhiyi)