1 Nov
2023
1 Nov
'23
10:41 a.m.
On Wed Nov 1 15:40:31 2023 +0000, Jinoh Kang wrote:
Side note: those control-specific `NtUserMessageCall` calls can fallback to `default_window_proc`, so in cases when we use them, we don't need a separated syscall for that. You mean we should just replace the `DefWindowProc()` call with `NtUserMessageCall(<new call id>)`, in `StaticWndProc_common` and the like? That'll require a bit of cleanup of existing code though. I don't mean to do that for all cases, but using `StaticWndProc_common` as an example, we could just replace `DefWindowProc*` calls in case of `WM_NCCREATE` with `NtUserMessageCall`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4092#note_50515