From 09c20de83c1d7106c24e62703c0d522ce526ba91 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 8 Sep 2009 22:27:03 +0200 Subject: [PATCH] mshtml: Improve debug messages for timer invocation. --- dlls/mshtml/task.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dlls/mshtml/task.c b/dlls/mshtml/task.c index 0759580767e..61040e89721 100644 --- a/dlls/mshtml/task.c +++ b/dlls/mshtml/task.c @@ -374,8 +374,14 @@ static void call_timer_disp(IDispatch *disp) V_VT(&res) = VT_EMPTY; memset(&ei, 0, sizeof(ei)); + + TRACE(">>>\n"); hres = IDispatch_Invoke(disp, DISPID_VALUE, &IID_NULL, 0, DISPATCH_METHOD, &dp, &res, &ei, NULL); - TRACE("ret %08x %s\n", hres, debugstr_variant(&res)); + if(hres == S_OK) + TRACE("<<<\n"); + else + WARN("<<< %08x\n", hres); + VariantClear(&res); }