From f15aea2a86984cced58eefadedcec5636039461b Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 29 Sep 2010 09:57:34 +0200 Subject: [PATCH] programs: Add a stub implementation of mofcomp.exe. --- configure | 1 + configure.ac | 1 + programs/mofcomp/Makefile.in | 12 ++++++++++++ programs/mofcomp/mofcomp.c | 30 ++++++++++++++++++++++++++++++ tools/wine.inf.in | 2 +- 5 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 programs/mofcomp/Makefile.in create mode 100644 programs/mofcomp/mofcomp.c diff --git a/configure b/configure index 436bbae6f30..c9a1cc78d17 100755 --- a/configure +++ b/configure @@ -15011,6 +15011,7 @@ wine_fn_config_program icinfo enable_icinfo install wine_fn_config_program iexplore enable_iexplore install wine_fn_config_program ipconfig enable_ipconfig install wine_fn_config_program lodctr enable_lodctr install +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 diff --git a/configure.ac b/configure.ac index fb85cace4d2..52fee5195ee 100644 --- a/configure.ac +++ b/configure.ac @@ -2789,6 +2789,7 @@ WINE_CONFIG_PROGRAM(icinfo,install) WINE_CONFIG_PROGRAM(iexplore,install) WINE_CONFIG_PROGRAM(ipconfig,install) WINE_CONFIG_PROGRAM(lodctr,install) +WINE_CONFIG_PROGRAM(mofcomp,install) WINE_CONFIG_PROGRAM(mshta,install) WINE_CONFIG_PROGRAM(msiexec,installbin) WINE_CONFIG_PROGRAM(net,install) diff --git a/programs/mofcomp/Makefile.in b/programs/mofcomp/Makefile.in new file mode 100644 index 00000000000..f1dd447906b --- /dev/null +++ b/programs/mofcomp/Makefile.in @@ -0,0 +1,12 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = mofcomp.exe +APPMODE = -mconsole -municode +IMPORTS = kernel32 +EXTRADEFS = -DWINE_NO_UNICODE_MACROS + +C_SRCS = mofcomp.c + +@MAKE_PROG_RULES@ diff --git a/programs/mofcomp/mofcomp.c b/programs/mofcomp/mofcomp.c new file mode 100644 index 00000000000..f5c1e916eee --- /dev/null +++ b/programs/mofcomp/mofcomp.c @@ -0,0 +1,30 @@ +/* + * 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 + */ + +#define WIN32_LEAN_AND_MEAN + +#include "wine/debug.h" +#include + +WINE_DEFAULT_DEBUG_CHANNEL(mofcomp); + +int wmain( int argc, const WCHAR *argv[] ) +{ + WINE_FIXME("stub\n"); + return 0; +} diff --git a/tools/wine.inf.in b/tools/wine.inf.in index 44e36a77368..1146ec676fc 100644 --- a/tools/wine.inf.in +++ b/tools/wine.inf.in @@ -2588,7 +2588,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" 11,mui, 11,spool\drivers\color, 11,spool\printers, -11,wbem, 10,,explorer.exe 10,,hh.exe 10,,notepad.exe @@ -2599,6 +2598,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" 12,,mountmgr.sys 10,Microsoft.NET\Framework\v1.1.4322,ngen.exe 10,Microsoft.NET\Framework\v2.0.50727,ngen.exe +11,wbem,mofcomp.exe 16422,Internet Explorer,iexplore.exe 11,,*