taskschd: Implement IExecAction::get_Arguments.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Dmitry Timoshkov 2018-03-06 11:33:02 +08:00 committed by Alexandre Julliard
parent daf2d98e68
commit 1884714569
1 changed files with 10 additions and 2 deletions

View File

@ -1810,8 +1810,16 @@ static HRESULT WINAPI ExecAction_put_Path(IExecAction *iface, BSTR path)
static HRESULT WINAPI ExecAction_get_Arguments(IExecAction *iface, BSTR *arguments)
{
FIXME("%p,%p: stub\n", iface, arguments);
return E_NOTIMPL;
ExecAction *action = impl_from_IExecAction(iface);
TRACE("%p,%p\n", iface, arguments);
if (!arguments) return E_POINTER;
if (!action->args) *arguments = NULL;
else if (!(*arguments = SysAllocString(action->args))) return E_OUTOFMEMORY;
return S_OK;
}
static HRESULT WINAPI ExecAction_put_Arguments(IExecAction *iface, BSTR arguments)