X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=1734d4e72289a359bac6b1bd7734bead94f8e2e9;hb=c03d51cbbfe9f4f8a28dbabbfc068573a1842b74;hp=da3c8b8f70d46b612f2c9f5dd00027c0c0ba3987;hpb=c262633514e151f681f4d8234185e2212a959c27;p=nssm.git diff --git a/registry.h b/registry.h index da3c8b8..1734d4e 100644 --- a/registry.h +++ b/registry.h @@ -27,6 +27,7 @@ #define NSSM_REG_ROTATE_BYTES_HIGH _T("AppRotateBytesHigh") #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); @@ -34,9 +35,7 @@ HKEY open_registry(const TCHAR *, REGSAM sam); int create_messages(); int create_parameters(nssm_service_t *, bool); int create_exit_action(TCHAR *, const TCHAR *, bool); -int set_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *); -int format_environment(TCHAR *, unsigned long, TCHAR **, unsigned long *); -int unformat_environment(TCHAR *, unsigned long, TCHAR **, unsigned long *); +int get_environment(TCHAR *, HKEY, TCHAR *, TCHAR **, unsigned long *); int get_string(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool, bool); int get_string(HKEY, TCHAR *, TCHAR *, unsigned long, bool); int expand_parameter(HKEY, TCHAR *, TCHAR *, unsigned long, bool, bool);