[SCHTASKS] Import from Wine Staging 1.9.14. CORE-11576
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 12 Jul 2016 15:35:42 +0000 (15:35 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 12 Jul 2016 15:35:42 +0000 (15:35 +0000)
svn path=/trunk/; revision=71903

reactos/base/applications/cmdutils/CMakeLists.txt
reactos/base/applications/cmdutils/schtasks/CMakeLists.txt [new file with mode: 0644]
reactos/base/applications/cmdutils/schtasks/schtasks.c [new file with mode: 0644]
reactos/media/doc/README.WINE

index 473ac1f..3bc6790 100644 (file)
@@ -10,6 +10,7 @@ add_subdirectory(lodctr)
 add_subdirectory(mode)
 add_subdirectory(more)
 add_subdirectory(reg)
+add_subdirectory(schtasks)
 add_subdirectory(sort)
 add_subdirectory(taskkill)
 add_subdirectory(tree)
diff --git a/reactos/base/applications/cmdutils/schtasks/CMakeLists.txt b/reactos/base/applications/cmdutils/schtasks/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bf79e4c
--- /dev/null
@@ -0,0 +1,6 @@
+
+add_executable(schtasks schtasks.c)
+target_link_libraries(schtasks wine)
+set_module_type(schtasks win32cui UNICODE)
+add_importlibs(schtasks msvcrt kernel32 ntdll)
+add_cd_file(TARGET schtasks DESTINATION reactos/system32 FOR all)
diff --git a/reactos/base/applications/cmdutils/schtasks/schtasks.c b/reactos/base/applications/cmdutils/schtasks/schtasks.c
new file mode 100644 (file)
index 0000000..a3af346
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2012 Detlef Riekenberg
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(schtasks);
+
+int wmain(int argc, WCHAR *argv[])
+{
+    int i;
+
+    WINE_FIXME("stub:");
+    for (i = 0; i < argc; i++)
+        WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
+    WINE_FIXME("\n");
+
+    return 0;
+}
index f146e1d..7b5badc 100644 (file)
@@ -231,6 +231,7 @@ ReactOS shares the following programs with Winehq.
 
 reactos/base/applications/cmdutils/cscript  # Synced to WineStaging-1.9.11
 reactos/base/applications/cmdutils/reg      # Synced to WineStaging-1.9.11
+reactos/base/applications/cmdutils/schtasks # Synced to WineStaging-1.9.14
 reactos/base/applications/cmdutils/taskkill # Synced to WineStaging-1.9.11
 reactos/base/applications/cmdutils/wmic     # Synced to WineStaging-1.9.11
 reactos/base/applications/cmdutils/wscript  # Synced to WineStaging-1.9.11