taskkill: Add stub implementation.
authorAndrew Nguyen <anguyen@codeweavers.com>
Tue, 21 Sep 2010 07:17:09 +0000 (02:17 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 21 Sep 2010 17:56:53 +0000 (19:56 +0200)
configure
configure.ac
programs/taskkill/Makefile.in [new file with mode: 0644]
programs/taskkill/taskkill.c [new file with mode: 0644]

index 58093b57b8452bf4a0ff19e4ff38e236904d7855..788a57a0463db2ab7f538dae68dc2933dc622c1b 100755 (executable)
--- a/configure
+++ b/configure
@@ -15016,6 +15016,7 @@ wine_fn_config_program services enable_services install
 wine_fn_config_program spoolsv enable_spoolsv install
 wine_fn_config_program start enable_start install
 wine_fn_config_program svchost enable_svchost install
+wine_fn_config_program taskkill enable_taskkill install
 wine_fn_config_program taskmgr enable_taskmgr install
 wine_fn_config_program termsv enable_termsv install
 wine_fn_config_program uninstaller enable_uninstaller install
index e3220ef2030b66872e66d993e785fbf418f24b39..f2792939f472a3a44c837d42d4b5de805dfc8354 100644 (file)
@@ -2804,6 +2804,7 @@ WINE_CONFIG_PROGRAM(services,install)
 WINE_CONFIG_PROGRAM(spoolsv,install)
 WINE_CONFIG_PROGRAM(start,install)
 WINE_CONFIG_PROGRAM(svchost,install)
+WINE_CONFIG_PROGRAM(taskkill,install)
 WINE_CONFIG_PROGRAM(taskmgr,install)
 WINE_CONFIG_PROGRAM(termsv,install)
 WINE_CONFIG_PROGRAM(uninstaller,install)
diff --git a/programs/taskkill/Makefile.in b/programs/taskkill/Makefile.in
new file mode 100644 (file)
index 0000000..1f9c335
--- /dev/null
@@ -0,0 +1,7 @@
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+MODULE    = taskkill.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = taskkill.c
+
+@MAKE_PROG_RULES@
diff --git a/programs/taskkill/taskkill.c b/programs/taskkill/taskkill.c
new file mode 100644 (file)
index 0000000..f38db0c
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Task termination utility
+ *
+ * Copyright 2010 Andrew Nguyen
+ *
+ * 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 <windows.h>
+#include <wine/debug.h>
+#include <wine/unicode.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(taskkill);
+
+int wmain(int argc, WCHAR *argv[])
+{
+    WINE_FIXME("taskkill.exe is not implemented\n");
+    return 0;
+}