• Zhiyi Zhang's avatar
    win32u: Return ERROR_ACCESS_DENIED for WH_JOURNALRECORD and WH_JOURNALPLAYBACK. · e1259ff9
    Zhiyi Zhang authored
    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.
    e1259ff9
hook.c 20.3 KB