Jacek Caban : shdocvw: Silence QueryService traces in non-interactive runs.
Alexandre Julliard
julliard at winehq.org
Mon Jun 14 13:01:17 CDT 2010
Module: wine
Branch: master
Commit: ddaf9171a136696af6c42e2a75798165462358a9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ddaf9171a136696af6c42e2a75798165462358a9
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Jun 14 02:20:38 2010 +0200
shdocvw: Silence QueryService traces in non-interactive runs.
They only pollute output making it harder to find useful informations.
---
dlls/shdocvw/tests/webbrowser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/shdocvw/tests/webbrowser.c b/dlls/shdocvw/tests/webbrowser.c
index f396373..17189fc 100644
--- a/dlls/shdocvw/tests/webbrowser.c
+++ b/dlls/shdocvw/tests/webbrowser.c
@@ -1350,6 +1350,9 @@ static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface,
{
*ppv = NULL;
+ if(!winetest_interactive)
+ return E_NOINTERFACE;
+
if (IsEqualGUID(&SID_STopLevelBrowser, guidService))
trace("Service SID_STopLevelBrowser\n");
else if (IsEqualGUID(&SID_SEditCommandTarget, guidService))
More information about the wine-cvs
mailing list