Dmitry Timoshkov : mstask: Return SCHED_S_TASK_RUNNING from ITask:: GetStatus() if there are running task instances.
Alexandre Julliard
julliard at winehq.org
Fri May 11 13:22:27 CDT 2018
Module: wine
Branch: master
Commit: a652d51e06d2b11870686296b5c3dcadf9f3acac
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a652d51e06d2b11870686296b5c3dcadf9f3acac
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Fri May 11 12:36:36 2018 +0800
mstask: Return SCHED_S_TASK_RUNNING from ITask::GetStatus() if there are running task instances.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 47ed4cb..aa50620 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;
}
More information about the wine-cvs
mailing list