_tprintf(_T("Remote service control is not yet implemented\n"));
return 2;
}
-/*
+
hSCManager = OpenSCManager(MachineName, NULL, SC_MANAGER_ALL_ACCESS);
if (hSCManager == NULL)
{
ReportLastError();
return -1;
}
-*/
+
if (_tcsicmp(Command, _T("query")) == 0)
Query(Args, FALSE);
else if (_tcsicmp(Command, _T("start")) == 0)
{
if (*Args)
- Start(3, Args);
+ Start(0, Args);
else
StartUsage();
}