From 341bb46fc693273b357842bdbe3260c017aa0318 Mon Sep 17 00:00:00 2001 From: Thiago Barbato Date: Fri, 8 Jul 2016 12:43:39 +0200 Subject: [PATCH] wscript: Added WScript.Quit semi-stub implementation. Signed-off-by: Thiago Barbato Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- programs/wscript/host.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/programs/wscript/host.c b/programs/wscript/host.c index 893d0062b01..3c30c3ca5dc 100644 --- a/programs/wscript/host.c +++ b/programs/wscript/host.c @@ -224,8 +224,10 @@ static HRESULT WINAPI Host_put_Interactive(IHost *iface, VARIANT_BOOL v) static HRESULT WINAPI Host_Quit(IHost *iface, int ExitCode) { - WINE_FIXME("(%d)\n", ExitCode); - return E_NOTIMPL; + FIXME("(%d) semi-stub: no script engine clean up\n", ExitCode); + + ExitProcess(ExitCode); + return S_OK; } static HRESULT WINAPI Host_get_ScriptName(IHost *iface, BSTR *out_ScriptName)