[PATCH] taskschd: Set count to zero in regtasks_get_Count stub.

Olivier F. R. Dierick o.dierick at piezo-forte.be
Thu Jan 6 17:58:03 CST 2022


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52349
Signed-off-by: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
---
 dlls/taskschd/regtask.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/taskschd/regtask.c b/dlls/taskschd/regtask.c
index 0b4b571..094f34d 100644
--- a/dlls/taskschd/regtask.c
+++ b/dlls/taskschd/regtask.c
@@ -465,6 +465,7 @@ static HRESULT WINAPI regtasks_Invoke(IRegisteredTaskCollection *iface, DISPID d
 static HRESULT WINAPI regtasks_get_Count(IRegisteredTaskCollection *iface, LONG *count)
 {
     FIXME("%p,%p: stub\n", iface, count);
+    if (count) *count = 0;
     return E_NOTIMPL;
 }
 
-- 
2.1.4




More information about the wine-devel mailing list