shdocvw: Inherit HlinkFrame in InternetExplorer object.
This commit is contained in:
parent
9068b3fb23
commit
cf6d9d6986
|
@ -47,6 +47,8 @@ static HRESULT WINAPI InternetExplorer_QueryInterface(IWebBrowser2 *iface, REFII
|
|||
}else if(IsEqualGUID(&IID_IConnectionPointContainer, riid)) {
|
||||
TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This, ppv);
|
||||
*ppv = CONPTCONT(&This->doc_host.cps);
|
||||
}else if(HlinkFrame_QI(&This->hlink_frame, riid, ppv)) {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
if(*ppv) {
|
||||
|
|
|
@ -279,6 +279,8 @@ HRESULT InternetExplorer_Create(IUnknown *pOuter, REFIID riid, void **ppv)
|
|||
|
||||
InternetExplorer_WebBrowser_Init(ret);
|
||||
|
||||
HlinkFrame_Init(&ret->hlink_frame, (IUnknown*)WEBBROWSER2(ret), &ret->doc_host);
|
||||
|
||||
create_frame_hwnd(ret);
|
||||
ret->doc_host.frame_hwnd = ret->frame_hwnd;
|
||||
|
||||
|
|
|
@ -173,6 +173,7 @@ struct WebBrowser {
|
|||
|
||||
struct InternetExplorer {
|
||||
const IWebBrowser2Vtbl *lpWebBrowser2Vtbl;
|
||||
HlinkFrame hlink_frame;
|
||||
|
||||
LONG ref;
|
||||
|
||||
|
|
Loading…
Reference in New Issue