Add stubbed wmic.exe.

This commit is contained in:
Louis Lenders 2010-12-06 23:04:20 +01:00 committed by Alexandre Julliard
parent cd30e9562c
commit 4b281b2b81
4 changed files with 43 additions and 0 deletions

1
configure vendored
View File

@ -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

View File

@ -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)

View File

@ -0,0 +1,8 @@
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = wmic.exe
APPMODE = -mconsole -municode
C_SRCS = \
main.c
@MAKE_PROG_RULES@

33
programs/wmic/main.c Normal file
View File

@ -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;
}