Fixed drawing of rotation GUI labels.
[nssm.git] / registry.h
index 6afa536..da3c8b8 100644 (file)
@@ -8,6 +8,7 @@
 #define NSSM_REG_ENV _T("AppEnvironment")\r
 #define NSSM_REG_ENV_EXTRA _T("AppEnvironmentExtra")\r
 #define NSSM_REG_EXIT _T("AppExit")\r
+#define NSSM_REG_RESTART_DELAY _T("AppRestartDelay")\r
 #define NSSM_REG_THROTTLE _T("AppThrottle")\r
 #define NSSM_REG_STOP_METHOD_SKIP _T("AppStopMethodSkip")\r
 #define NSSM_REG_KILL_CONSOLE_GRACE_PERIOD _T("AppStopMethodConsole")\r
 #define NSSM_REG_STDIO_DISPOSITION _T("CreationDisposition")\r
 #define NSSM_REG_STDIO_FLAGS _T("FlagsAndAttributes")\r
 #define NSSM_REG_ROTATE _T("AppRotateFiles")\r
+#define NSSM_REG_ROTATE_ONLINE _T("AppRotateOnline")\r
 #define NSSM_REG_ROTATE_SECONDS _T("AppRotateSeconds")\r
 #define NSSM_REG_ROTATE_BYTES_LOW _T("AppRotateBytes")\r
 #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_STDIO_LENGTH 29\r
 \r
 HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam);\r
@@ -34,8 +37,12 @@ int create_exit_action(TCHAR *, const TCHAR *, bool);
 int set_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *);\r
 int format_environment(TCHAR *, unsigned long, TCHAR **, unsigned long *);\r
 int unformat_environment(TCHAR *, unsigned long, 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
 int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool);\r
+int set_string(HKEY, TCHAR *, TCHAR *, bool);\r
+int set_string(HKEY, TCHAR *, TCHAR *);\r
 int set_expand_string(HKEY, TCHAR *, TCHAR *);\r
 int set_number(HKEY, TCHAR *, unsigned long);\r
 int get_number(HKEY, TCHAR *, unsigned long *, bool);\r