Module: wine
Branch: master
Commit: 37035e53cd0f4dec9b89ffbee87f480abaae25c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=37035e53cd0f4dec9b89ffbee…
Author: Detlef Riekenberg <wine.dev(a)web.de>
Date: Sun Nov 4 23:02:06 2012 +0100
schtasks: Add a stub schtasks.exe.
---
configure | 1 +
configure.ac | 1 +
programs/schtasks/Makefile.in | 7 +++++++
programs/schtasks/schtasks.c | 33 +++++++++++++++++++++++++++++++++
4 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 3cd967c..bc31918 100755
--- a/configure
+++ b/configure
@@ -15933,6 +15933,7 @@ wine_fn_config_program rpcss enable_rpcss install
wine_fn_config_program rundll.exe16 enable_win16 install
wine_fn_config_program rundll32 enable_rundll32 install
wine_fn_config_program sc enable_sc install
+wine_fn_config_program schtasks enable_schtasks install
wine_fn_config_program secedit enable_secedit install
wine_fn_config_program servicemodelreg enable_servicemodelreg install
wine_fn_config_program services enable_services install
diff --git a/configure.ac b/configure.ac
index d527c73..1adb6fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3156,6 +3156,7 @@ WINE_CONFIG_PROGRAM(rpcss,,[install])
WINE_CONFIG_PROGRAM(rundll.exe16,enable_win16,[install])
WINE_CONFIG_PROGRAM(rundll32,,[install])
WINE_CONFIG_PROGRAM(sc,,[install])
+WINE_CONFIG_PROGRAM(schtasks,,[install])
WINE_CONFIG_PROGRAM(secedit,,[install])
WINE_CONFIG_PROGRAM(servicemodelreg,,[install])
WINE_CONFIG_PROGRAM(services,,[install])
diff --git a/programs/schtasks/Makefile.in b/programs/schtasks/Makefile.in
new file mode 100644
index 0000000..e1747eb
--- /dev/null
+++ b/programs/schtasks/Makefile.in
@@ -0,0 +1,7 @@
+MODULE = schtasks.exe
+APPMODE = -mconsole -municode
+
+C_SRCS = \
+ schtasks.c
+
+@MAKE_PROG_RULES@
diff --git a/programs/schtasks/schtasks.c b/programs/schtasks/schtasks.c
new file mode 100644
index 0000000..a3af346
--- /dev/null
+++ b/programs/schtasks/schtasks.c
@@ -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;
+}