mstask: Return SCHED_S_TASK_RUNNING from ITask::GetStatus() if there are running task instances.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8cfdaa45bb
commit
a652d51e06
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue