#ifndef PROCESS_H\r
#define PROCESS_H\r
\r
+#include <psapi.h>\r
#include <tlhelp32.h>\r
\r
typedef struct {\r
TCHAR *name;\r
HANDLE process_handle;\r
+ unsigned long depth;\r
unsigned long pid;\r
unsigned long exitcode;\r
unsigned long stop_method;\r
int kill_console(kill_t *);\r
int kill_process(nssm_service_t *, kill_t *);\r
int kill_process(kill_t *);\r
+int print_process(nssm_service_t *, kill_t *);\r
+int print_process(kill_t *);\r
void walk_process_tree(nssm_service_t *, walk_function_t, kill_t *, unsigned long);\r
void kill_process_tree(kill_t *, unsigned long);\r
\r