#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
#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