X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.h;h=68c01473f4afde5484cb284751e36baff4ce27b1;hb=cca8d28295ce27b7c996b47badc6a1e3a6a34e65;hp=496b54a9554c0e34ba5afaaf15d2772747519214;hpb=aece13df3cc7a17d5827cc59fc59c13538b52517;p=nssm.git diff --git a/service.h b/service.h index 496b54a..68c0147 100644 --- a/service.h +++ b/service.h @@ -1,8 +1,6 @@ #ifndef SERVICE_H #define SERVICE_H -#include - /* MSDN says the commandline in CreateProcess() is limited to 32768 characters and the application name to MAX_PATH. @@ -19,7 +17,6 @@ #define ACTION_LEN 16 -#define NSSM_LOCALSYSTEM_ACCOUNT _T("LocalSystem") #define NSSM_KERNEL_DRIVER _T("SERVICE_KERNEL_DRIVER") #define NSSM_FILE_SYSTEM_DRIVER _T("SERVICE_FILE_SYSTEM_DRIVER") #define NSSM_WIN32_OWN_PROCESS _T("SERVICE_WIN32_OWN_PROCESS") @@ -126,7 +123,6 @@ int set_service_description(const TCHAR *, SC_HANDLE, TCHAR *); int get_service_description(const TCHAR *, SC_HANDLE, unsigned long, TCHAR *); int get_service_startup(const TCHAR *, SC_HANDLE, const QUERY_SERVICE_CONFIG *, unsigned long *); int get_service_username(const TCHAR *, const QUERY_SERVICE_CONFIG *, TCHAR **, size_t *); -int grant_logon_as_service(const TCHAR *); int pre_install_service(int, TCHAR **); int pre_remove_service(int, TCHAR **); int pre_edit_service(int, TCHAR **);