Return the correct error code from IConnectionPointContainer::FindConnectionPoint.
This commit is contained in:
parent
f4acfe9a53
commit
98fd1c5678
|
@ -1901,8 +1901,8 @@ static HRESULT WINAPI OLEFontImpl_FindConnectionPoint(
|
|||
&IID_IConnectionPoint,
|
||||
(LPVOID)ppCp);
|
||||
} else {
|
||||
FIXME("Tried to find connection point on %s\n", debugstr_guid(riid));
|
||||
return E_NOINTERFACE;
|
||||
FIXME("no connection point for %s\n", debugstr_guid(riid));
|
||||
return CONNECT_E_NOCONNECTION;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -869,8 +869,8 @@ static HRESULT WINAPI OLEPictureImpl_FindConnectionPoint(
|
|||
*ppCP = NULL;
|
||||
if (IsEqualGUID(riid,&IID_IPropertyNotifySink))
|
||||
return IConnectionPoint_QueryInterface(This->pCP,&IID_IConnectionPoint,(LPVOID)ppCP);
|
||||
FIXME("tried to find connection point on %s?\n",debugstr_guid(riid));
|
||||
return 0x80040200;
|
||||
FIXME("no connection point for %s\n",debugstr_guid(riid));
|
||||
return CONNECT_E_NOCONNECTION;
|
||||
}
|
||||
/************************************************************************
|
||||
* IPersistStream
|
||||
|
|
|
@ -102,7 +102,7 @@ static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPo
|
|||
}
|
||||
|
||||
WARN("Unsupported IID %s\n", debugstr_guid(riid));
|
||||
return E_NOINTERFACE;
|
||||
return CONNECT_E_NOCONNECTION;
|
||||
}
|
||||
|
||||
#undef CONPTCONT_THIS
|
||||
|
|
Loading…
Reference in New Issue