From 4ad3642db6c6634e5033acd6b23afd6b940cc235 Mon Sep 17 00:00:00 2001 From: zeffy Date: Sat, 10 Jun 2017 11:38:57 -0700 Subject: [PATCH] more debug --- wufuc/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wufuc/util.c b/wufuc/util.c index be4dbb5..f0f0cf4 100644 --- a/wufuc/util.c +++ b/wufuc/util.c @@ -99,7 +99,7 @@ VOID SuspendProcessThreads(DWORD dwProcessId, DWORD dwThreadId, HANDLE *lphThrea CloseHandle(hSnap); *lpcb = count; - _tdbgprintf(_T("Suspended other threads.")); + _tdbgprintf(_T("Suspended %d other threads."), count); } VOID ResumeAndCloseThreads(HANDLE *lphThreads, SIZE_T cb) { @@ -107,7 +107,7 @@ VOID ResumeAndCloseThreads(HANDLE *lphThreads, SIZE_T cb) { ResumeThread(lphThreads[i]); CloseHandle(lphThreads[i]); } - _tdbgprintf(_T("Resumed threads.")); + _tdbgprintf(_T("Resumed %d other threads."), cb); } BOOL IsWindows7Or8Point1(void) {