Rémi Bernon (@rbernon) commented about dlls/imm32/tests/imm32.c:
- return TRUE;
+}
+static void test_ime_ui_window_child(void) +{
- char window_name[80], class_name[80];
- HWND hwnd, result_hwnd;
- /* Unity expects the first window in the current thread to be its game window, not Wine IME */
- hwnd = CreateWindowA("static", "", WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, 100, 100, NULL, NULL, NULL, NULL);
- EnumWindows(enum_first_current_thread_window_proc, (LPARAM)&result_hwnd);
- GetClassNameA(result_hwnd, class_name, ARRAY_SIZE(class_name));
- GetWindowTextA(result_hwnd, window_name, ARRAY_SIZE(window_name));
- todo_wine
- ok(result_hwnd == hwnd, "Got unexpected window %p %s %s.\n", result_hwnd, window_name, class_name);
- DestroyWindow(hwnd);
Please lets keep the code style consistent with the rest of the (recent) tests. I've fixed it with a couple of other tweaks in https://gitlab.winehq.org/rbernon/wine/-/commit/ba2e61592a72a37d55c7344eb9cd...