https://bugs.winehq.org/show_bug.cgi?id=4209
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de, | |zzhang@codeweavers.com
--- Comment #13 from Fabian Maurer dark.shadow4@web.de --- Since wine-8.20 the hook tests sample reports ACCESS_DENIED, the Bugslayer program simply won't start recording.
Reason is commit e1259ff91a40d7d97fa730235e2b7737b229f708 Author: Zhiyi Zhang zzhang@codeweavers.com Date: Wed Oct 25 15:20:32 2023 -0500
win32u: Return ERROR_ACCESS_DENIED for WH_JOURNALRECORD and WH_JOURNALPLAYBACK.
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. Reject journalling hooks unconditionally here because they have been broken for a long time.
@Zhiyi Could you take a look? Because the program works just fine on windows 7, and the hook program by Lauri Kenttä can also set their WH_JOURNALRECORD hook.