Try to kill the process tree gracefully.
[nssm.git] / process.h
1 #ifndef PROCESS_H
2 #define PROCESS_H
3
4 #include <tlhelp32.h>
5
6 typedef struct {
7   unsigned long pid;
8   unsigned long exitcode;
9   int signalled;
10 } kill_t;
11
12 int CALLBACK kill_window(HWND, LPARAM);
13 int kill_threads(char *, kill_t *);
14 int kill_process(char *, HANDLE, unsigned long, unsigned long);
15 void kill_process_tree(char *, unsigned long, unsigned long, unsigned long);
16
17 #endif