shdocvw: Silence QueryService traces in non-interactive runs.

They only pollute output making it harder to find useful informations.
This commit is contained in:
Jacek Caban 2010-06-14 02:20:38 +02:00 committed by Alexandre Julliard
parent 95d98bdb53
commit ddaf9171a1
1 changed files with 3 additions and 0 deletions

View File

@ -1350,6 +1350,9 @@ static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface,
{ {
*ppv = NULL; *ppv = NULL;
if(!winetest_interactive)
return E_NOINTERFACE;
if (IsEqualGUID(&SID_STopLevelBrowser, guidService)) if (IsEqualGUID(&SID_STopLevelBrowser, guidService))
trace("Service SID_STopLevelBrowser\n"); trace("Service SID_STopLevelBrowser\n");
else if (IsEqualGUID(&SID_SEditCommandTarget, guidService)) else if (IsEqualGUID(&SID_SEditCommandTarget, guidService))