From 4b281b2b81a6ad95a1a8a4e444dd9fc0ad7aab29 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Mon, 6 Dec 2010 23:04:20 +0100 Subject: [PATCH] Add stubbed wmic.exe. --- configure | 1 + configure.ac | 1 + programs/wmic/Makefile.in | 8 ++++++++ programs/wmic/main.c | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 programs/wmic/Makefile.in create mode 100644 programs/wmic/main.c diff --git a/configure b/configure index ea28639699c..5ab08b2c52f 100755 --- a/configure +++ b/configure @@ -15390,6 +15390,7 @@ wine_fn_config_program winhelp.exe16 enable_win16 install wine_fn_config_program winhlp32 enable_winhlp32 install wine_fn_config_program winoldap.mod16 enable_win16 install wine_fn_config_program winver enable_winver install +wine_fn_config_program wmic enable_wmic install wine_fn_config_program wordpad enable_wordpad install wine_fn_config_program write enable_write install wine_fn_config_program wscript enable_wscript install diff --git a/configure.ac b/configure.ac index bb3237d0abb..8ad460d7447 100644 --- a/configure.ac +++ b/configure.ac @@ -2912,6 +2912,7 @@ WINE_CONFIG_PROGRAM(winhelp.exe16,install,enable_win16) WINE_CONFIG_PROGRAM(winhlp32,install) WINE_CONFIG_PROGRAM(winoldap.mod16,install,enable_win16) WINE_CONFIG_PROGRAM(winver,install) +WINE_CONFIG_PROGRAM(wmic,install) WINE_CONFIG_PROGRAM(wordpad,install) WINE_CONFIG_PROGRAM(write,install) WINE_CONFIG_PROGRAM(wscript,install) diff --git a/programs/wmic/Makefile.in b/programs/wmic/Makefile.in new file mode 100644 index 00000000000..4bef2743f08 --- /dev/null +++ b/programs/wmic/Makefile.in @@ -0,0 +1,8 @@ +EXTRADEFS = -DWINE_NO_UNICODE_MACROS +MODULE = wmic.exe +APPMODE = -mconsole -municode + +C_SRCS = \ + main.c + +@MAKE_PROG_RULES@ diff --git a/programs/wmic/main.c b/programs/wmic/main.c new file mode 100644 index 00000000000..ba37017a284 --- /dev/null +++ b/programs/wmic/main.c @@ -0,0 +1,33 @@ +/* + * Copyright 2010 Louis Lenders + * + * 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(wmic); + +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; +}