Windows Service support.

Program can now be started as a Windows Service. No additional
arguments needed. Refer to `service_install` and `service_remove`
scripts in released zip file.
This commit is contained in:
ValdikSS
2017-12-20 17:03:22 +03:00
parent 95765f3ed9
commit 23babdc8fa
5 changed files with 103 additions and 21 deletions

3
service.h Normal file
View File

@@ -0,0 +1,3 @@
int service_register();
void service_main(int argc, char *argv[]);
void service_controlhandler(DWORD request);