4 #define NSSM_REGISTRY "SYSTEM\\CurrentControlSet\\Services\\%s\\Parameters"
\r
5 #define NSSM_REG_EXE "Application"
\r
6 #define NSSM_REG_FLAGS "AppParameters"
\r
7 #define NSSM_REG_DIR "AppDirectory"
\r
8 #define NSSM_REG_ENV "AppEnvironment"
\r
9 #define NSSM_REG_EXIT "AppExit"
\r
10 #define NSSM_REG_THROTTLE "AppThrottle"
\r
12 int create_messages();
\r
13 int create_parameters(char *, char *, char *, char *);
\r
14 int create_exit_action(char *, const char *);
\r
15 int set_environment(char *, HKEY, char **);
\r
16 int expand_parameter(HKEY, char *, char *, unsigned long, bool);
\r
17 int get_parameters(char *, char *, int, char *, int, char *, int, char **, unsigned long *);
\r
18 int get_exit_action(char *, unsigned long *, unsigned char *, bool *);
\r