Allocate new console by default.
[nssm.git] / registry.h
index 390e032..1734d4e 100644 (file)
@@ -27,6 +27,7 @@
 #define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh")\r
 #define NSSM_REG_PRIORITY _T("AppPriority")\r
 #define NSSM_REG_AFFINITY _T("AppAffinity")\r
+#define NSSM_REG_NO_CONSOLE _T("AppNoConsole")\r
 #define NSSM_STDIO_LENGTH 29\r
 \r
 HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam);\r
@@ -34,7 +35,7 @@ HKEY open_registry(const TCHAR *, REGSAM sam);
 int create_messages();\r
 int create_parameters(nssm_service_t *, bool);\r
 int create_exit_action(TCHAR *, const TCHAR *, bool);\r
-int set_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *);\r
+int get_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *);\r
 int get_string(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool, bool);\r
 int get_string(HKEY, TCHAR *, TCHAR *, unsigned long, bool);\r
 int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool);\r