File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111#include < Mile.Helpers.CppBase.h>
1212
13+ // RunAsSvc Install [ServiceName] [Options]
14+ // RunAsSvc Uninstall [ServiceName]
15+ // RunAsSvc Start [ServiceName]
16+ // RunAsSvc Stop [ServiceName]
17+ // RunAsSvc Enable [ServiceName]
18+ // RunAsSvc Disable [ServiceName]
19+
20+ // Private
21+ // RunAsSvc Instance [ServiceName]
22+
23+ // HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\[ServiceName]
24+ // HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services[ServiceName]\RunAsSvc
25+ // - REG_SZ: ApplicationName
26+ // - REG_SZ: CommandLine
27+ // - REG_SZ: CurrentDirectory
28+ // - REG_MULTI_SZ: EnvironmentVariables
29+ // - REG_DWORD: TerminateChildProcessesOnServiceStop
30+ // - REG_DWORD: RestartOnApplicationExit
31+ // - REG_DWORD: GracefulTerminationTimeout
32+ // - REG_SZ: StandardOutputRedirectFilePath
33+ // - REG_SZ: StandardErrorRedirectFilePath
34+
1335int main ()
1436{
1537 std::wprintf (L" Hello World! - RunAsSvc" );
You can’t perform that action at this time.
0 commit comments