From 6d17310b808c763ceb0b1948f93eae4d714f658b Mon Sep 17 00:00:00 2001 From: Dakoon Date: Fri, 7 Apr 2017 19:36:50 +0200 Subject: [PATCH] #2 - Removed debug. --- WhatsappTray/Hook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WhatsappTray/Hook.cpp b/WhatsappTray/Hook.cpp index 195dd06..5faade1 100644 --- a/WhatsappTray/Hook.cpp +++ b/WhatsappTray/Hook.cpp @@ -187,7 +187,7 @@ LRESULT CALLBACK MouseProc( // Wenn ich als threadId 0 übergeben, ist es ein Globaler Hook. BOOL DLLIMPORT RegisterHook(HMODULE hLib, DWORD threadId, bool closeToTray) { - _hWndProc = SetWindowsHookEx(WH_CALLWNDPROC, (HOOKPROC)CallWndRetProcDebug, hLib, threadId); + _hWndProc = SetWindowsHookEx(WH_CALLWNDPROC, (HOOKPROC)CallWndRetProc, hLib, threadId); if (_hWndProc == NULL) { OutputDebugString(L"RegisterHook() - Error Creation Hook _hWndProc\n");