And print a FIXME if we've got multiple entries.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru --- dlls/schedsvc/svc_main.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/schedsvc/svc_main.c b/dlls/schedsvc/svc_main.c index ba8de0430f..937d1c2b7e 100644 --- a/dlls/schedsvc/svc_main.c +++ b/dlls/schedsvc/svc_main.c @@ -82,12 +82,17 @@ static DWORD WINAPI tasks_monitor_thread(void *arg) NULL, &ov, NULL); if (!ret) break;
+ if (info.data.NextEntryOffset) + FIXME("got multiple entries\n"); + events[0] = done_event; events[1] = ov.hEvent;
ret = WaitForMultipleObjects(2, events, FALSE, INFINITE); if (ret == WAIT_OBJECT_0) break;
+ info.data.FileName[info.data.FileNameLength/sizeof(WCHAR)] = 0; + switch (info.data.Action) { case FILE_ACTION_ADDED: