26 Oct
2023
26 Oct
'23
1:42 p.m.
win32u: Return ERROR_ACCESS_DENIED for WH_JOURNALRECORD and WH_JOURNALPLAYBACK on newer OS versions. On > XP, settings WH_JOURNALRECORD or WH_JOURNALPLAYBACK hooks report ERROR_ACCESS_DENIED according to tests, even with administrator rights. PCSE_TERM depends on this to not crash. MSDN also says that journaling hooks APIs are unsupported starting in Windows 11. So I hope this justifies the version check in NtUserSetWindowsHookEx(). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4186