programs: Add a stub implementation of netsh.exe.

This commit is contained in:
Hans Leidekker 2010-12-06 13:19:41 +01:00 committed by Alexandre Julliard
parent eefe6f65c1
commit 8ad7d2e814
4 changed files with 42 additions and 0 deletions

1
configure vendored
View File

@ -15347,6 +15347,7 @@ wine_fn_config_program mofcomp enable_mofcomp install
wine_fn_config_program mshta enable_mshta install
wine_fn_config_program msiexec enable_msiexec installbin
wine_fn_config_program net enable_net install
wine_fn_config_program netsh enable_netsh install
wine_fn_config_program ngen enable_ngen install
wine_fn_config_program notepad enable_notepad installbin
wine_fn_config_program oleview enable_oleview install

View File

@ -2869,6 +2869,7 @@ WINE_CONFIG_PROGRAM(mofcomp,install)
WINE_CONFIG_PROGRAM(mshta,install)
WINE_CONFIG_PROGRAM(msiexec,installbin)
WINE_CONFIG_PROGRAM(net,install)
WINE_CONFIG_PROGRAM(netsh,install)
WINE_CONFIG_PROGRAM(ngen,install)
WINE_CONFIG_PROGRAM(notepad,installbin)
WINE_CONFIG_PROGRAM(oleview,install)

View File

@ -0,0 +1,7 @@
MODULE = netsh.exe
APPMODE = -mconsole -municode
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = netsh.c
@MAKE_PROG_RULES@

33
programs/netsh/netsh.c Normal file
View File

@ -0,0 +1,33 @@
/*
* Copyright 2010 Hans Leidekker for CodeWeavers
*
* 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(netsh);
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;
}