#ifndef SERVICE_H\r
#define SERVICE_H\r
\r
+#include <ntsecapi.h>\r
+\r
/*\r
MSDN says the commandline in CreateProcess() is limited to 32768 characters\r
and the application name to MAX_PATH.\r
void set_nssm_service_defaults(nssm_service_t *);\r
void cleanup_nssm_service(nssm_service_t *);\r
SC_HANDLE open_service_manager();\r
+QUERY_SERVICE_CONFIG *query_service_config(const TCHAR *, SC_HANDLE);\r
+int get_service_description(const TCHAR *, SC_HANDLE, unsigned long, TCHAR *);\r
+int get_service_startup(const TCHAR *, SC_HANDLE, const QUERY_SERVICE_CONFIG *, unsigned long *);\r
+int get_service_username(const TCHAR *, const QUERY_SERVICE_CONFIG *, TCHAR **, size_t *);\r
int pre_install_service(int, TCHAR **);\r
int pre_remove_service(int, TCHAR **);\r
int pre_edit_service(int, TCHAR **);\r