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>
This commit is contained in:
Thiago Barbato 2016-07-08 12:43:39 +02:00 committed by Alexandre Julliard
parent 7dc5d5ebfe
commit 341bb46fc6
1 changed files with 4 additions and 2 deletions

View File

@ -224,8 +224,10 @@ static HRESULT WINAPI Host_put_Interactive(IHost *iface, VARIANT_BOOL v)
static HRESULT WINAPI Host_Quit(IHost *iface, int ExitCode) static HRESULT WINAPI Host_Quit(IHost *iface, int ExitCode)
{ {
WINE_FIXME("(%d)\n", ExitCode); FIXME("(%d) semi-stub: no script engine clean up\n", ExitCode);
return E_NOTIMPL;
ExitProcess(ExitCode);
return S_OK;
} }
static HRESULT WINAPI Host_get_ScriptName(IHost *iface, BSTR *out_ScriptName) static HRESULT WINAPI Host_get_ScriptName(IHost *iface, BSTR *out_ScriptName)