Use close_handle().
[nssm.git] / service.h
index fa8ac78..a8e0bcf 100644 (file)
--- a/service.h
+++ b/service.h
@@ -163,7 +163,7 @@ int stop_service(nssm_service_t *, unsigned long, bool, bool);
 void CALLBACK end_service(void *, unsigned char);\r
 void throttle_restart(nssm_service_t *);\r
 int await_single_handle(SERVICE_STATUS_HANDLE, SERVICE_STATUS *, HANDLE, TCHAR *, TCHAR *, unsigned long);\r
-int list_nssm_services();\r
+int list_nssm_services(int, TCHAR **);\r
 int service_process_tree(int, TCHAR **);\r
 \r
 #endif\r