mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-23 00:44:10 +00:00
wshom: Implement standard streams properties for Exec object.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38210 Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a514001019
commit
1128970a75
|
@ -230,29 +230,38 @@ static HRESULT WINAPI WshExec_get_Status(IWshExec *iface, WshExecStatus *status)
|
||||||
|
|
||||||
static HRESULT WINAPI WshExec_get_StdIn(IWshExec *iface, ITextStream **stream)
|
static HRESULT WINAPI WshExec_get_StdIn(IWshExec *iface, ITextStream **stream)
|
||||||
{
|
{
|
||||||
WshExecImpl *This = impl_from_IWshExec(iface);
|
WshExecImpl *exec = impl_from_IWshExec(iface);
|
||||||
|
|
||||||
FIXME("(%p)->(%p): stub\n", This, stream);
|
TRACE("%p, %p.\n", iface, stream);
|
||||||
|
|
||||||
return E_NOTIMPL;
|
*stream = exec->stdin_stream;
|
||||||
|
ITextStream_AddRef(*stream);
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI WshExec_get_StdOut(IWshExec *iface, ITextStream **stream)
|
static HRESULT WINAPI WshExec_get_StdOut(IWshExec *iface, ITextStream **stream)
|
||||||
{
|
{
|
||||||
WshExecImpl *This = impl_from_IWshExec(iface);
|
WshExecImpl *exec = impl_from_IWshExec(iface);
|
||||||
|
|
||||||
FIXME("(%p)->(%p): stub\n", This, stream);
|
TRACE("%p, %p.\n", iface, stream);
|
||||||
|
|
||||||
return E_NOTIMPL;
|
*stream = exec->stdout_stream;
|
||||||
|
ITextStream_AddRef(*stream);
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI WshExec_get_StdErr(IWshExec *iface, ITextStream **stream)
|
static HRESULT WINAPI WshExec_get_StdErr(IWshExec *iface, ITextStream **stream)
|
||||||
{
|
{
|
||||||
WshExecImpl *This = impl_from_IWshExec(iface);
|
WshExecImpl *exec = impl_from_IWshExec(iface);
|
||||||
|
|
||||||
FIXME("(%p)->(%p): stub\n", This, stream);
|
TRACE("%p, %p.\n", iface, stream);
|
||||||
|
|
||||||
return E_NOTIMPL;
|
*stream = exec->stderr_stream;
|
||||||
|
ITextStream_AddRef(*stream);
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI WshExec_get_ProcessID(IWshExec *iface, DWORD *pid)
|
static HRESULT WINAPI WshExec_get_ProcessID(IWshExec *iface, DWORD *pid)
|
||||||
|
|
Loading…
Reference in a new issue