#define NSSM_REG_PRIORITY _T("AppPriority")\r
#define NSSM_REG_AFFINITY _T("AppAffinity")\r
#define NSSM_REG_NO_CONSOLE _T("AppNoConsole")\r
+#define NSSM_REG_HOOK _T("AppEvents")\r
#define NSSM_STDIO_LENGTH 29\r
\r
+HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam, bool);\r
HKEY open_registry(const TCHAR *, const TCHAR *, REGSAM sam);\r
HKEY open_registry(const TCHAR *, REGSAM sam);\r
int create_messages();\r
int get_io_parameters(nssm_service_t *, HKEY);\r
int get_parameters(nssm_service_t *, STARTUPINFO *);\r
int get_exit_action(const TCHAR *, unsigned long *, TCHAR *, bool *);\r
+int set_hook(const TCHAR *, const TCHAR *, const TCHAR *, TCHAR *);\r
+int get_hook(const TCHAR *, const TCHAR *, const TCHAR *, TCHAR *, unsigned long);\r
\r
#endif\r