On Sat Oct 14 02:21:51 2023 +0000, Jinoh Kang wrote:
This code path is not tested, so it's not clear if this behavior matches that of Windows (current and future versions). You should either test that cross-process NtUserSetRealClassId always fails, or convert the ERR to FIXME:
if (!win) return FALSE; if (win == WND_OTHER_PROCESS || win == WND_DESKTOP) { FIXME("Can't set real window class for a window belonging to another process\n"); return FALSE; }
Depending on whether any of the builtin winprocs tolerate being called on another process's window, it may not be possible to test.