From bd3d77391845fe18fda52b181f51f6884a87f773 Mon Sep 17 00:00:00 2001 From: Peacoor Date: Mon, 2 Oct 2023 18:13:13 +0800 Subject: [PATCH] Remove error comment --- 230130-hookgamesendto/src/inject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/230130-hookgamesendto/src/inject.cpp b/230130-hookgamesendto/src/inject.cpp index 5942312..d2fd0f2 100644 --- a/230130-hookgamesendto/src/inject.cpp +++ b/230130-hookgamesendto/src/inject.cpp @@ -74,7 +74,7 @@ bool remove_module(DWORD pid, HMODULE module_handle) bool result = false; hproc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid); if (hproc == 0) goto finally; - hthread = CreateRemoteThread(hproc, NULL, 0, (LPTHREAD_START_ROUTINE)FreeLibrary, module_handle, 0, NULL); // 创建远程线程注入 + hthread = CreateRemoteThread(hproc, NULL, 0, (LPTHREAD_START_ROUTINE)FreeLibrary, module_handle, 0, NULL); if (hthread == 0) goto finally; WaitForSingleObject(hthread, INFINITE); DWORD threadres; -- GitLab