The template holds a set of functions that build, run and send signals to daemons that are built with Daemon or DaemonClient template. * Truncated DaemonClient aren't able to run described daemon, only signal sending and daemon uninstalling.
Saves info about exception into daemon logger
Starts daemon that is described by DaemonInfo. Daemon is implemented as windows service and auto-installed in SC manager. If you want to uninstall the service, you can use uninstall function or system call:
Sends singal sig for described daemon. All signals are sent via ControlService WINAPI function.
ditto with dynamic service name
If inner StartServiceCtrlDispatcherW fails due reason that the code is running in userspace, the function returns ServiceInitState.NotService.
Utility function that helps to uninstall the service from the system.