On Tue Mar 21 16:08:46 2023 +0000, Rémi Bernon wrote:
Well, it's not really important and we can probably keep the lazy init, but I'm also not sure that an additional server call is so bad here, is it?
No, I don't think it's a blocker, it just feels like win32u's responsibility. Note that DLL_THREAD_ATTACH is also not a complete solution: it will not handle threads that were created before loading imm32.dll (so triggering lazy initialization in NtUserBuildHimcList may be interesting even if we take this patch).