Patch to make the End Process Button working, by Michael Fritscher
authorKJK::Hyperion <hackbunny@reactos.org>
Sun, 2 Jan 2005 20:47:34 +0000 (20:47 +0000)
committerKJK::Hyperion <hackbunny@reactos.org>
Sun, 2 Jan 2005 20:47:34 +0000 (20:47 +0000)
svn path=/trunk/; revision=12736

reactos/subsys/system/taskmgr/procpage.c

index ff2d0cd..7d872f9 100644 (file)
@@ -34,6 +34,7 @@
 #include "column.h"
 #include "proclist.h"
 #include "dbgchnl.h"
+#include "endproc.h"
 #include <ctype.h>
 
 HWND hProcessPage;                        /* Process List Property Page */
@@ -110,6 +111,12 @@ ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
         break;
 
     case WM_COMMAND:
+        /* Handle the button clicks */
+        switch (LOWORD(wParam))
+        {
+                case IDC_ENDPROCESS:
+                        ProcessPage_OnEndProcess();
+        }
         break;
 
     case WM_SIZE: