X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=3e380b4ef4a22f665f5b1450ae35d0385e94341c;hb=a90eade7d022451e92bedcebe816651df7bf0d17;hp=f831f8967e33603f205a191e61b77b3d84b97232;hpb=b5286398f850b432edbddc6d602ab3f33ab086be;p=nssm.git diff --git a/registry.h b/registry.h index f831f89..3e380b4 100644 --- a/registry.h +++ b/registry.h @@ -23,16 +23,19 @@ #define NSSM_REG_STDIO_SHARING _T("ShareMode") #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_ROTATE _T("AppRotateFiles") #define NSSM_REG_ROTATE_ONLINE _T("AppRotateOnline") #define NSSM_REG_ROTATE_SECONDS _T("AppRotateSeconds") #define NSSM_REG_ROTATE_BYTES_LOW _T("AppRotateBytes") #define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh") +#define NSSM_REG_ROTATE_DELAY _T("AppRotateDelay") #define NSSM_REG_PRIORITY _T("AppPriority") #define NSSM_REG_AFFINITY _T("AppAffinity") #define NSSM_REG_NO_CONSOLE _T("AppNoConsole") #define NSSM_STDIO_LENGTH 29 +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); int create_messages();