X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=394a49ff94f2c47b52c0dc2f260b96885ab09430;hb=1ca188026d2d0b9a379cc1588eee314ca96528ab;hp=1649bdf623f7efd006488882155ab356f9357aa8;hpb=2f2f64b07611fe0709bf4d502de7cac292dc1975;p=nssm.git diff --git a/registry.h b/registry.h index 1649bdf..394a49f 100644 --- a/registry.h +++ b/registry.h @@ -1,7 +1,8 @@ #ifndef REGISTRY_H #define REGISTRY_H -#define NSSM_REGISTRY _T("SYSTEM\\CurrentControlSet\\Services\\%s\\Parameters") +#define NSSM_REGISTRY _T("SYSTEM\\CurrentControlSet\\Services\\%s") +#define NSSM_REG_PARAMETERS _T("Parameters") #define NSSM_REGISTRY_GROUPS _T("SYSTEM\\CurrentControlSet\\Control\\ServiceGroupOrder") #define NSSM_REG_GROUPS _T("List") #define NSSM_REG_EXE _T("Application") @@ -36,6 +37,7 @@ #define NSSM_REG_HOOK _T("AppEvents") #define NSSM_STDIO_LENGTH 29 +HKEY open_service_registry(const TCHAR *, REGSAM sam, bool); HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam, bool); HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam); HKEY open_registry(const TCHAR *, REGSAM sam);