c3d264b52d
This formatting has been done by an astyle script. The idea is that with a consistent formatting it is much easier to bring in changes from Mozilla. Updating the code with the new version, running the astyle script and then looking through the diff seems like the most sensible option.
21 lines
701 B
C++
21 lines
701 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "readstrings.h"
|
|
|
|
#define SVC_DISPLAY_NAME L"Mozilla Maintenance Service"
|
|
|
|
enum SvcInstallAction { UpgradeSvc, InstallSvc, ForceInstallSvc };
|
|
BOOL SvcInstall(SvcInstallAction action);
|
|
BOOL SvcUninstall();
|
|
BOOL StopService();
|
|
BOOL SetUserAccessServiceDACL(SC_HANDLE hService);
|
|
DWORD SetUserAccessServiceDACL(SC_HANDLE hService, PACL &pNewAcl,
|
|
PSECURITY_DESCRIPTOR psd);
|
|
|
|
struct MaintenanceServiceStringTable
|
|
{
|
|
char serviceDescription[MAX_TEXT_LEN];
|
|
};
|
|
|