X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=34d75f3ea4d17b687e67830bc28d1c142004e27b;hb=cca8d28295ce27b7c996b47badc6a1e3a6a34e65;hp=390e0329b8db7d044058d738e16b4713efc214c9;hpb=e3b93d0c37ae200fa0375e4be6f435008050b385;p=nssm.git diff --git a/registry.h b/registry.h index 390e032..34d75f3 100644 --- a/registry.h +++ b/registry.h @@ -27,6 +27,7 @@ #define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh") #define NSSM_REG_PRIORITY _T("AppPriority") #define NSSM_REG_AFFINITY _T("AppAffinity") +#define NSSM_REG_NO_CONSOLE _T("AppNoConsole") #define NSSM_STDIO_LENGTH 29 HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam); @@ -34,7 +35,7 @@ HKEY open_registry(const TCHAR *, REGSAM sam); int create_messages(); int create_parameters(nssm_service_t *, bool); int create_exit_action(TCHAR *, const TCHAR *, bool); -int set_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *); +int get_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *); int get_string(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool, bool); int get_string(HKEY, TCHAR *, TCHAR *, unsigned long, bool); int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool); @@ -46,6 +47,7 @@ int set_number(HKEY, TCHAR *, unsigned long); int get_number(HKEY, TCHAR *, unsigned long *, bool); int get_number(HKEY, TCHAR *, unsigned long *); void override_milliseconds(TCHAR *, HKEY, TCHAR *, unsigned long *, unsigned long, unsigned long); +int get_io_parameters(nssm_service_t *, HKEY); int get_parameters(nssm_service_t *, STARTUPINFO *); int get_exit_action(const TCHAR *, unsigned long *, TCHAR *, bool *);