Master goodies.
This commit is contained in:
commit
b51a08e7cc
13 files changed
+246
-48
No files matched your search
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user