taskschd: Implement IExecAction::get_WorkingDirectory.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2018-03-06 11:32:58 +08:00 committed by Alexandre Julliard
parent 6dbee463a7
commit 439a4b1ee1
1 changed files with 10 additions and 2 deletions

View File

@ -1820,8 +1820,16 @@ static HRESULT WINAPI ExecAction_put_Arguments(IExecAction *iface, BSTR argument
static HRESULT WINAPI ExecAction_get_WorkingDirectory(IExecAction *iface, BSTR *directory)
{
FIXME("%p,%p: stub\n", iface, directory);
return E_NOTIMPL;
ExecAction *action = impl_from_IExecAction(iface);
TRACE("%p,%p\n", iface, directory);
if (!directory) return E_POINTER;
if (!action->directory) *directory = NULL;
else if (!(*directory = SysAllocString(action->directory))) return E_OUTOFMEMORY;
return S_OK;
}
static HRESULT WINAPI ExecAction_put_WorkingDirectory(IExecAction *iface, BSTR directory)