Commit a652d51e authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

mstask: Return SCHED_S_TASK_RUNNING from ITask::GetStatus() if there are running task instances.

parent 8cfdaa45
......@@ -307,7 +307,7 @@ static HRESULT WINAPI MSTASK_ITask_GetStatus(ITask *iface, HRESULT *status)
TRACE("(%p, %p)\n", iface, status);
*status = This->status;
*status = This->instance_count ? SCHED_S_TASK_RUNNING : This->status;
return S_OK;
}
......
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