shdocvw: Use IID_IBrowserService2 defined in header.

This commit is contained in:
Piotr Caban 2011-03-14 17:50:08 +01:00 committed by Alexandre Julliard
parent d83dca09df
commit f1f645b345
2 changed files with 2 additions and 4 deletions

View File

@ -36,6 +36,7 @@
#include "olectl.h"
#include "mshtmdid.h"
#include "shobjidl.h"
#include "shdeprecated.h"
#include "shlguid.h"
#include "exdispid.h"
#include "mimeinfo.h"
@ -2643,8 +2644,6 @@ static void test_IServiceProvider(IUnknown *unk)
IServiceProvider *servprov = (void*)0xdeadbeef;
HRESULT hres;
IUnknown *ret = NULL;
static const IID IID_IBrowserService2 =
{0x68BD21CC,0x438B,0x11d2,{0xA5,0x60,0x00,0xA0,0xC,0x2D,0xBF,0xE8}};
hres = IUnknown_QueryInterface(unk, &IID_IServiceProvider, (void**)&servprov);
ok(hres == S_OK, "QueryInterface returned %08x, expected S_OK\n", hres);

View File

@ -23,6 +23,7 @@
#include "shdocvw.h"
#include "exdispid.h"
#include "mshtml.h"
#include "shdeprecated.h"
WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
@ -1140,8 +1141,6 @@ static HRESULT STDMETHODCALLTYPE WBServiceProvider_QueryService(IServiceProvider
REFGUID guidService, REFIID riid, void **ppv)
{
WebBrowser *This = impl_from_IServiceProvider(iface);
static const IID IID_IBrowserService2 =
{0x68BD21CC,0x438B,0x11d2,{0xA5,0x60,0x00,0xA0,0xC,0x2D,0xBF,0xE8}};
if(*ppv)
ppv = NULL;