[RAPPS] Bulk install!
[reactos.git] / reactos / base / applications / sc / sc.c
index 215f2ee..e2b7508 100644 (file)
@@ -268,6 +268,46 @@ ScControl(LPCTSTR Server,       // remote machine name
     {
         SetConfig(ServiceArgs, ArgCount);
     }
+    else if (!lstrcmpi(Command, _T("failure")))
+    {
+        SetFailure(ServiceArgs, ArgCount);
+    }
+    else if (!lstrcmpi(Command, _T("GetDisplayName")))
+    {
+        if (ArgCount > 0)
+        {
+            ServiceName = *ServiceArgs++;
+            ArgCount--;
+
+            GetDisplayName(ServiceName);
+        }
+        else
+            GetDisplayNameUsage();
+    }
+    else if (!lstrcmpi(Command, _T("GetKeyName")))
+    {
+        if (ArgCount > 0)
+        {
+            ServiceName = *ServiceArgs++;
+            ArgCount--;
+
+            GetKeyName(ServiceName);
+        }
+        else
+            GetKeyNameUsage();
+    }
+    else if (!lstrcmpi(Command, _T("EnumDepend")))
+    {
+        if (ArgCount > 0)
+        {
+            ServiceName = *ServiceArgs++;
+            ArgCount--;
+
+            EnumDepend(ServiceName);
+        }
+        else
+            EnumDependUsage();
+    }
     else
     {
         MainUsage();