shdocvw: Use IID_IBrowserService2 defined in header.
This commit is contained in:
parent
d83dca09df
commit
f1f645b345
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue