Try to kill the process tree gracefully.
[nssm.git] / process.h
index 95f87b2..23a7706 100644 (file)
--- a/process.h
+++ b/process.h
@@ -3,6 +3,15 @@
 
 #include <tlhelp32.h>
 
+typedef struct {
+  unsigned long pid;
+  unsigned long exitcode;
+  int signalled;
+} kill_t;
+
+int CALLBACK kill_window(HWND, LPARAM);
+int kill_threads(char *, kill_t *);
+int kill_process(char *, HANDLE, unsigned long, unsigned long);
 void kill_process_tree(char *, unsigned long, unsigned long, unsigned long);
 
 #endif