git://git.iain.cx/iain
/
nssm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to kill the process tree gracefully.
[nssm.git]
/
process.h
diff --git
a/process.h
b/process.h
index
95f87b2
..
23a7706
100644
(file)
--- a/
process.h
+++ b/
process.h
@@
-3,6
+3,15
@@
#include <tlhelp32.h>
#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
void kill_process_tree(char *, unsigned long, unsigned long, unsigned long);
#endif