LibreOffice Module onlineupdate (master) 1
maintenanceservice.hxx
Go to the documentation of this file.
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5void WINAPI SvcMain(DWORD dwArgc, LPWSTR *lpszArgv);
6void SvcInit(DWORD dwArgc, LPWSTR *lpszArgv);
7void WINAPI SvcCtrlHandler(DWORD dwCtrl);
8void ReportSvcStatus(DWORD dwCurrentState,
9 DWORD dwWin32ExitCode,
10 DWORD dwWaitHint);
void ReportSvcStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode, DWORD dwWaitHint)
Sets the current service status and reports it to the SCM.
void WINAPI SvcCtrlHandler(DWORD dwCtrl)
Called by SCM whenever a control code is sent to the service using the ControlService function.
void SvcInit(DWORD dwArgc, LPWSTR *lpszArgv)
void WINAPI SvcMain(DWORD dwArgc, LPWSTR *lpszArgv)
Main entry point when running as a service.