Module: wine Branch: oldstable Commit: 134789d517546c9fc4c21e7e9af53dbde10928ff URL: https://source.winehq.org/git/wine.git/?a=commit;h=134789d517546c9fc4c21e7e9...
Author: Olivier F. R. Dierick o.dierick@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@piezo-forte.be Signed-off-by: Alexandre Julliard julliard@winehq.org (cherry picked from commit bbd9b9bfee41ae2274e9579f418b0b741e29e6cb) Signed-off-by: Michael Stefaniuc mstefani@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; }