X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=d8018ac15132cba44e83a6218e148c248032b4da;hb=6adc886e1fa296f67aacef0c01994e302e8caf86;hp=394a49ff94f2c47b52c0dc2f260b96885ab09430;hpb=66861c12e7d515f4d0e779102780d89e3fcd2a12;p=nssm.git diff --git a/registry.h b/registry.h index 394a49f..d8018ac 100644 --- a/registry.h +++ b/registry.h @@ -25,6 +25,7 @@ #define NSSM_REG_STDIO_DISPOSITION _T("CreationDisposition") #define NSSM_REG_STDIO_FLAGS _T("FlagsAndAttributes") #define NSSM_REG_STDIO_COPY_AND_TRUNCATE _T("CopyAndTruncate") +#define NSSM_REG_HOOK_SHARE_OUTPUT_HANDLES _T("AppRedirectHook") #define NSSM_REG_ROTATE _T("AppRotateFiles") #define NSSM_REG_ROTATE_ONLINE _T("AppRotateOnline") #define NSSM_REG_ROTATE_SECONDS _T("AppRotateSeconds") @@ -38,6 +39,7 @@ #define NSSM_STDIO_LENGTH 29 HKEY open_service_registry(const TCHAR *, REGSAM sam, bool); +long open_registry(const TCHAR *, const TCHAR *, REGSAM sam, HKEY *, 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);