aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/windows/service.cpp
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-03-04 18:13:14 -0800
committerLiam Mitchell <[email protected]>2025-03-04 18:13:14 -0800
commit8857b1551e719478f50d914c34a1e63782045b86 (patch)
tree5cfa05a47757c503a427a7a6c406ea25cf550d19 /src/zenserver/windows/service.cpp
parentImplementation of service commands for Linux. (diff)
downloadzen-8857b1551e719478f50d914c34a1e63782045b86.tar.xz
zen-8857b1551e719478f50d914c34a1e63782045b86.zip
Initial implementation of service status reporting
Diffstat (limited to 'src/zenserver/windows/service.cpp')
-rw-r--r--src/zenserver/windows/service.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/zenserver/windows/service.cpp b/src/zenserver/windows/service.cpp
index cb87df1f6..4be5e6205 100644
--- a/src/zenserver/windows/service.cpp
+++ b/src/zenserver/windows/service.cpp
@@ -21,7 +21,6 @@ HANDLE ghSvcStopEvent = NULL;
void SvcInstall(void);
-void ReportSvcStatus(DWORD, DWORD, DWORD);
void SvcReportEvent(LPTSTR);
WindowsService::WindowsService()
@@ -222,14 +221,7 @@ WindowsService::SvcMain()
return 1;
}
- // Report running status when initialization is complete.
-
- ReportSvcStatus(SERVICE_RUNNING, NO_ERROR, 0);
-
int ReturnCode = Run();
-
- ReportSvcStatus(SERVICE_STOPPED, NO_ERROR, 0);
-
return ReturnCode;
}