wscript.exe: Added stub implementation.

This commit is contained in:
Jacek Caban 2010-07-27 15:51:18 +02:00 committed by Alexandre Julliard
parent 127260bb62
commit 16bad58a8c
4 changed files with 47 additions and 0 deletions

1
configure vendored
View File

@ -14913,6 +14913,7 @@ wine_fn_config_program winoldap.mod16 enable_win16 install
wine_fn_config_program winver enable_winver 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
wine_fn_config_program xcopy enable_xcopy install
wine_fn_config_makefile server enable_server
wine_fn_config_tool tools

View File

@ -2769,6 +2769,7 @@ WINE_CONFIG_PROGRAM(winoldap.mod16,install,enable_win16)
WINE_CONFIG_PROGRAM(winver,install)
WINE_CONFIG_PROGRAM(wordpad,install)
WINE_CONFIG_PROGRAM(write,install)
WINE_CONFIG_PROGRAM(wscript,install)
WINE_CONFIG_PROGRAM(xcopy,install)
WINE_CONFIG_MAKEFILE([server])
WINE_CONFIG_TOOL(tools)

View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = wscript.exe
APPMODE = -mwindows -municode
IMPORTS =
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = \
main.c
@MAKE_PROG_RULES@

32
programs/wscript/main.c Normal file
View File

@ -0,0 +1,32 @@
/*
* Copyright 2010 Jacek Caban 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 <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wscript);
int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cmdshow)
{
WINE_FIXME("(%p %p %s %x)\n", hInst, hPrevInst, wine_dbgstr_w(cmdline), cmdshow);
return 0;
}