Andrew Nguyen : taskkill: Add stub implementation.

Alexandre Julliard julliard at winehq.org
Tue Sep 21 13:59:28 CDT 2010


Module: wine
Branch: master
Commit: 8e540ed26fb934999800c8d5e2c2afbeaef920a6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8e540ed26fb934999800c8d5e2c2afbeaef920a6

Author: Andrew Nguyen <anguyen at codeweavers.com>
Date:   Tue Sep 21 02:17:09 2010 -0500

taskkill: Add stub implementation.

---

 configure                     |    1 +
 configure.ac                  |    1 +
 programs/taskkill/Makefile.in |    7 +++++++
 programs/taskkill/taskkill.c  |   31 +++++++++++++++++++++++++++++++
 4 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 58093b5..788a57a 100755
--- 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
diff --git a/configure.ac b/configure.ac
index e3220ef..f279293 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
index 0000000..1f9c335
--- /dev/null
+++ b/programs/taskkill/Makefile.in
@@ -0,0 +1,7 @@
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+MODULE    = taskkill.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = taskkill.c
+
+ at MAKE_PROG_RULES@
diff --git a/programs/taskkill/taskkill.c b/programs/taskkill/taskkill.c
new file mode 100644
index 0000000..f38db0c
--- /dev/null
+++ b/programs/taskkill/taskkill.c
@@ -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;
+}




More information about the wine-cvs mailing list