[PATCH 06/12] mstask: Return SCHED_S_TASK_RUNNING from ITask::GetStatus() if there are running task instances.
11 May
2018
11 May
'18
4:36 a.m.
Signed-off-by: Dmitry Timoshkov <dmitry(a)baikal.ru> --- dlls/mstask/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mstask/task.c b/dlls/mstask/task.c index 47ed4cb51d..aa50620e53 100644 --- a/dlls/mstask/task.c +++ b/dlls/mstask/task.c @@ -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; } -- 2.16.3
2779
Age (days ago)
2779
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov