shdocvw: Added IConnectionPointContainer to InternetExplorer::QueryInterface.

This commit is contained in:
Jacek Caban 2006-05-17 18:27:23 +02:00 committed by Alexandre Julliard
parent 0b613f291f
commit 7ac9bc4d6e
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ static HRESULT WINAPI InternetExplorer_QueryInterface(IWebBrowser2 *iface, REFII
}else if(IsEqualGUID(&IID_IWebBrowser2, riid)) { }else if(IsEqualGUID(&IID_IWebBrowser2, riid)) {
TRACE("(%p)->(IID_IWebBrowser2 %p)\n", This, ppv); TRACE("(%p)->(IID_IWebBrowser2 %p)\n", This, ppv);
*ppv = WEBBROWSER(This); *ppv = WEBBROWSER(This);
}else if(IsEqualGUID(&IID_IConnectionPointContainer, riid)) {
TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This, ppv);
*ppv = CONPTCONT(&This->doc_host.cps);
} }
if(*ppv) { if(*ppv) {