From 9c5e70227f173420cf768ac51454484994426bc5 Mon Sep 17 00:00:00 2001 From: maowenrui <3505719167@qq.com> Date: Wed, 3 Jun 2026 14:10:29 +0800 Subject: [PATCH] fix is_protect_pid par --- Anti-Cheat_Driver/ob_reg_callback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anti-Cheat_Driver/ob_reg_callback.cpp b/Anti-Cheat_Driver/ob_reg_callback.cpp index def399f..d759973 100644 --- a/Anti-Cheat_Driver/ob_reg_callback.cpp +++ b/Anti-Cheat_Driver/ob_reg_callback.cpp @@ -34,7 +34,7 @@ auto ob_call_back::register_ob_reg_callback() -> NTSTATUS if(is_allow_process(image_file_name)) goto end; - if (protect_filter::is_protect_pid(HandleToLong(dwPid))) + if (protect_filter::is_protect_pid(HandleToLong(dwPid), nullptr)) { pOperationInformation->Parameters->DuplicateHandleInformation.DesiredAccess = 0; pOperationInformation->Parameters->DuplicateHandleInformation.OriginalDesiredAccess = 0;