X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=process.h;h=a79f9fd91eb3c29e5b4112bb5a89a561d96fa13d;hb=2bc7df40fe52fe9e86e382926f7653b55ee02038;hp=4a1547b7390f4bb7424137d84a49240f0a84dd11;hpb=23b8173ce06a843f18a9269fc6f7d4d0d224cd4c;p=nssm.git diff --git a/process.h b/process.h index 4a1547b..a79f9fd 100644 --- a/process.h +++ b/process.h @@ -11,11 +11,11 @@ typedef struct { int get_process_creation_time(HANDLE, FILETIME *); int get_process_exit_time(HANDLE, FILETIME *); -int check_parent(char *, PROCESSENTRY32 *, unsigned long, FILETIME *, FILETIME *); +int check_parent(TCHAR *, PROCESSENTRY32 *, unsigned long, FILETIME *, FILETIME *); int CALLBACK kill_window(HWND, LPARAM); -int kill_threads(char *, kill_t *); -int kill_console(char *, HANDLE, unsigned long); -int kill_process(char *, unsigned long, HANDLE, unsigned long, unsigned long); -void kill_process_tree(char *, unsigned long, unsigned long, unsigned long, unsigned long, FILETIME *, FILETIME *); +int kill_threads(nssm_service_t *, kill_t *); +int kill_console(nssm_service_t *, kill_t *); +int kill_process(nssm_service_t *, HANDLE, unsigned long, unsigned long); +void kill_process_tree(nssm_service_t *, unsigned long, unsigned long, unsigned long); #endif