mshtml: Improve debug messages for timer invocation.

This commit is contained in:
Jacek Caban 2009-09-08 22:27:03 +02:00 committed by Alexandre Julliard
parent 537bbe2ce5
commit 09c20de83c
1 changed files with 7 additions and 1 deletions

View File

@ -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);
}