mirror of
https://github.com/reactos/reactos.git
synced 2026-06-21 03:16:15 +08:00
Related to #8145. We shouldn't use user32 functions in DllMain.DLL_PROCESS_ATTACH. This bug affects Global Hook. See DllMain and "Dynamic-Link Library Best Practices" on MS Learn. JIRA issue: CORE-20242 Don't use user32!FindWindow in DllMain.DLL_PROCESS_ATTACH, but in KbSwitchSetHooks function.