Module: wine Branch: master Commit: bbd9b9bfee41ae2274e9579f418b0b741e29e6cb URL: https://source.winehq.org/git/wine.git/?a=commit;h=bbd9b9bfee41ae2274e9579f4... Author: Olivier F. R. Dierick <o.dierick(a)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(a)piezo-forte.be> Signed-off-by: Alexandre Julliard <julliard(a)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; }