NSSM 2.10.
[nssm.git] / registry.h
1 #ifndef REGISTRY_H\r
2 #define REGISTRY_H\r
3 \r
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_EXIT "AppExit"\r
9 #define NSSM_REG_THROTTLE "AppThrottle"\r
10 \r
11 int create_messages();\r
12 int create_parameters(char *, char *, char *, char *);\r
13 int create_exit_action(char *, const char *);\r
14 int expand_parameter(HKEY, char *, char *, unsigned long, bool);\r
15 int get_parameters(char *, char *, int, char *, int, char *, int, unsigned long *);\r
16 int get_exit_action(char *, unsigned long *, unsigned char *, bool *);\r
17 \r
18 #endif\r