Added nssm_exe().
[nssm.git] / registry.h
index 1649bdf..d8018ac 100644 (file)
@@ -1,7 +1,8 @@
 #ifndef REGISTRY_H\r
 #define REGISTRY_H\r
 \r
-#define NSSM_REGISTRY _T("SYSTEM\\CurrentControlSet\\Services\\%s\\Parameters")\r
+#define NSSM_REGISTRY _T("SYSTEM\\CurrentControlSet\\Services\\%s")\r
+#define NSSM_REG_PARAMETERS _T("Parameters")\r
 #define NSSM_REGISTRY_GROUPS _T("SYSTEM\\CurrentControlSet\\Control\\ServiceGroupOrder")\r
 #define NSSM_REG_GROUPS _T("List")\r
 #define NSSM_REG_EXE _T("Application")\r
@@ -24,6 +25,7 @@
 #define NSSM_REG_STDIO_DISPOSITION _T("CreationDisposition")\r
 #define NSSM_REG_STDIO_FLAGS _T("FlagsAndAttributes")\r
 #define NSSM_REG_STDIO_COPY_AND_TRUNCATE _T("CopyAndTruncate")\r
+#define NSSM_REG_HOOK_SHARE_OUTPUT_HANDLES _T("AppRedirectHook")\r
 #define NSSM_REG_ROTATE _T("AppRotateFiles")\r
 #define NSSM_REG_ROTATE_ONLINE _T("AppRotateOnline")\r
 #define NSSM_REG_ROTATE_SECONDS _T("AppRotateSeconds")\r
@@ -36,6 +38,8 @@
 #define NSSM_REG_HOOK _T("AppEvents")\r
 #define NSSM_STDIO_LENGTH 29\r
 \r
+HKEY open_service_registry(const TCHAR *, REGSAM sam, bool);\r
+long open_registry(const TCHAR *, const TCHAR *, REGSAM sam, HKEY *, bool);\r
 HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam, bool);\r
 HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam);\r
 HKEY open_registry(const TCHAR *, REGSAM sam);\r