mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 06:13:05 +00:00
[CSCRIPT][WSCRIPT] Implement Sleep (#6146)
This commit is contained in:
parent
bf7e7c2383
commit
7ffc31554d
1 changed files with 8 additions and 0 deletions
|
@ -407,8 +407,16 @@ static HRESULT WINAPI Host_DisconnectObject(IHost *iface, IDispatch *Object)
|
||||||
|
|
||||||
static HRESULT WINAPI Host_Sleep(IHost *iface, LONG Time)
|
static HRESULT WINAPI Host_Sleep(IHost *iface, LONG Time)
|
||||||
{
|
{
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
UNREFERENCED_PARAMETER(iface);
|
||||||
|
if (Time < 0)
|
||||||
|
return E_INVALIDARG;
|
||||||
|
Sleep(Time);
|
||||||
|
return S_OK;
|
||||||
|
#else
|
||||||
WINE_FIXME("(%d)\n", Time);
|
WINE_FIXME("(%d)\n", Time);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI Host_ConnectObject(IHost *iface, IDispatch *Object, BSTR Prefix)
|
static HRESULT WINAPI Host_ConnectObject(IHost *iface, IDispatch *Object, BSTR Prefix)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue