Olivier F. R. Dierick : taskschd: Set count to zero in regtasks_get_Count stub.

Alexandre Julliard julliard at winehq.org
Tue Apr 12 13:38:05 CDT 2022


Module: wine
Branch: oldstable
Commit: 134789d517546c9fc4c21e7e9af53dbde10928ff
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=134789d517546c9fc4c21e7e9af53dbde10928ff

Author: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
Date:   Fri Jan  7 00:58:03 2022 +0100

taskschd: Set count to zero in regtasks_get_Count stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52349
Signed-off-by: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit bbd9b9bfee41ae2274e9579f418b0b741e29e6cb)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/taskschd/regtask.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/taskschd/regtask.c b/dlls/taskschd/regtask.c
index 0b4b5717657..094f34d8f79 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;
 }
 




More information about the wine-cvs mailing list