X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=registry.h;h=7bf49b0bb1014082c2cdc1085344dca48f86b78c;hb=d340e13effcabebb9eed2ace2e7874eff683e13d;hp=1734d4e72289a359bac6b1bd7734bead94f8e2e9;hpb=c03d51cbbfe9f4f8a28dbabbfc068573a1842b74;p=nssm.git diff --git a/registry.h b/registry.h index 1734d4e..7bf49b0 100644 --- a/registry.h +++ b/registry.h @@ -2,6 +2,8 @@ #define REGISTRY_H #define NSSM_REGISTRY _T("SYSTEM\\CurrentControlSet\\Services\\%s\\Parameters") +#define NSSM_REGISTRY_GROUPS _T("SYSTEM\\CurrentControlSet\\Control\\ServiceGroupOrder") +#define NSSM_REG_GROUPS _T("List") #define NSSM_REG_EXE _T("Application") #define NSSM_REG_FLAGS _T("AppParameters") #define NSSM_REG_DIR _T("AppDirectory") @@ -46,7 +48,10 @@ int set_expand_string(HKEY, TCHAR *, TCHAR *); int set_number(HKEY, TCHAR *, unsigned long); int get_number(HKEY, TCHAR *, unsigned long *, bool); int get_number(HKEY, TCHAR *, unsigned long *); +int format_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *); +int unformat_double_null(TCHAR *, unsigned long, TCHAR **, unsigned long *); void override_milliseconds(TCHAR *, HKEY, TCHAR *, unsigned long *, unsigned long, unsigned long); +int get_io_parameters(nssm_service_t *, HKEY); int get_parameters(nssm_service_t *, STARTUPINFO *); int get_exit_action(const TCHAR *, unsigned long *, TCHAR *, bool *);