Commit 9eca94fc authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

mstask: Implement ITask::GetExitCode().

parent e7243523
......@@ -685,8 +685,14 @@ static HRESULT WINAPI MSTASK_ITask_GetExitCode(ITask *iface, DWORD *exit_code)
TRACE("(%p, %p)\n", iface, exit_code);
if (This->status == SCHED_S_TASK_NOT_SCHEDULED)
{
*exit_code = 0;
return SCHED_S_TASK_HAS_NOT_RUN;
}
*exit_code = This->exit_code;
return SCHED_S_TASK_HAS_NOT_RUN; /* FIXME */
return S_OK;
}
static HRESULT WINAPI MSTASK_ITask_SetComment(ITask *iface, LPCWSTR comment)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment