Module: wine Branch: master Commit: 341bb46fc693273b357842bdbe3260c017aa0318 URL: http://source.winehq.org/git/wine.git/?a=commit;h=341bb46fc693273b357842bdbe...
Author: Thiago Barbato thiagocbbt@gmail.com Date: Fri Jul 8 12:43:39 2016 +0200
wscript: Added WScript.Quit semi-stub implementation.
Signed-off-by: Thiago Barbato thiagocbbt@gmail.com Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 893d006..3c30c3c 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)