mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 14:20:15 +00:00
mshtml: Fix Advise implementation for IPropertyNotifySink.
This commit is contained in:
parent
e3990ddf7b
commit
572691e685
1 changed files with 3 additions and 4 deletions
|
@ -128,11 +128,10 @@ static HRESULT WINAPI ConnectionPoint_Advise(IConnectionPoint *iface, IUnknown *
|
|||
TRACE("(%p)->(%p %p)\n", This, pUnkSink, pdwCookie);
|
||||
|
||||
hres = IUnknown_QueryInterface(pUnkSink, &This->iid, (void**)&sink);
|
||||
if(FAILED(hres) && !IsEqualGUID(&IID_IPropertyNotifySink, &This->iid)) {
|
||||
if(FAILED(hres) && !IsEqualGUID(&IID_IPropertyNotifySink, &This->iid))
|
||||
hres = IUnknown_QueryInterface(pUnkSink, &IID_IDispatch, (void**)&sink);
|
||||
if(FAILED(hres))
|
||||
return CONNECT_E_CANNOTCONNECT;
|
||||
}
|
||||
|
||||
if(This->sinks) {
|
||||
for(i=0; i<This->sinks_size; i++) {
|
||||
|
|
Loading…
Reference in a new issue