Module: wine Branch: master Commit: 09c20de83c1d7106c24e62703c0d522ce526ba91 URL: http://source.winehq.org/git/wine.git/?a=commit;h=09c20de83c1d7106c24e62703c...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Sep 8 22:27:03 2009 +0200
mshtml: Improve debug messages for timer invocation.
---
dlls/mshtml/task.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/task.c b/dlls/mshtml/task.c index 0759580..61040e8 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); }