Jinoh Kang (@iamahuman) commented about dlls/user32/tests/class.c:
+ + real_class_wndproc = cls_a.lpfnWndProc; + cls_a.lpfnWndProc = super_class_test_win_proc_a; + cls_a.hInstance = GetModuleHandleA(NULL); + cls_a.lpszClassName = SUPER_CLASS_NAME_A; + RegisterClassA(&cls_a); + + /* Test real class name if we only pass through WM_NULL. */ + test_real_class_name_set_msg(class_test->real_class_name, WM_NULL, class_test->set_by_wm_null, test_cross_process, + class_test->wine_todo); + if (class_test->set_by_wm_null && test_cross_process) test_cross_process = FALSE; + + /* Test real class name if we only pass through WM_NCCREATE. */ + test_real_class_name_set_msg(class_test->real_class_name, WM_NCCREATE, class_test->set_by_wm_nccreate, test_cross_process, + class_test->wine_todo); + if (class_test->set_by_wm_nccreate && test_cross_process) test_cross_process = FALSE; Ditto.
/* Please explain why we're skipping further cross-process tests here. */
if (class_test->set_by_wm_nccreate) test_cross_process = FALSE;
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4092#note_49482