Master goodies.

This commit is contained in:
hjozwiak committed 2026-11-02 23:14:16 -05:00
commit b51a08e7cc
13 files changed
+246 -48

No files matched your search

+2 -1
View File
@@ -30,7 +30,8 @@ static inline void wine_access_update_hooks(WineAccessForegroundHooks *hooks, BO
BOOL known = process && IsWow64Process(process, &wow64);
// An excluded program's thread never receives the hooks; its controller
// speech does not need them and its anti-tamper code may object to them.
BOOL excluded = process && wine_access_process_hook_excluded(hooks->exclusions, process);
// With exclusions configured, an unidentifiable target is not hooked.
BOOL excluded = !wine_access_hooks_allowed(hooks->exclusions, process);
if (process) CloseHandle(process);
if (!known || wow64 != target_wow64 || excluded) thread = 0;
if (thread == hooks->thread) return;