From ddaf9171a136696af6c42e2a75798165462358a9 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 14 Jun 2010 02:20:38 +0200 Subject: [PATCH] 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 file changed, 3 insertions(+) diff --git a/dlls/shdocvw/tests/webbrowser.c b/dlls/shdocvw/tests/webbrowser.c index f3963731c8b..17189fc1284 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))