static HRESULT WINAPI InPlaceActiveObject_ResizeBorder(IOleInPlaceActiveObject *iface, LPCRECT lprcBorder, IOleInPlaceUIWindow *pUIWindow, BOOL fFrameWindow) { WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface); FIXME("(%p)->(%p %p %x)\n", This, lprcBorder, pUIWindow, fFrameWindow); return E_NOTIMPL; }
static HRESULT WINAPI InPlaceActiveObject_EnableModeless(IOleInPlaceActiveObject *iface, BOOL fEnable) { WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface); FIXME("(%p)->(%x)\n", This, fEnable); return E_NOTIMPL; }
static HRESULT WINAPI InPlaceActiveObject_OnDocWindowActivate(IOleInPlaceActiveObject *iface, BOOL fActivate) { WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface); FIXME("(%p)->(%x)\n", This, fActivate); return E_NOTIMPL; }
static HRESULT WINAPI OleInPlaceActiveObject_OnFrameWindowActivate(IOleInPlaceActiveObject *iface, BOOL fActivate) { HTMLDocument *This = impl_from_IOleInPlaceActiveObject(iface); TRACE("(%p)->(%x)\n", This, fActivate); if(This->doc_obj->hostui) IDocHostUIHandler_OnFrameWindowActivate(This->doc_obj->hostui, fActivate); return S_OK; }
static HRESULT WINAPI OleInPlaceActiveObject_GetWindow(IOleInPlaceActiveObject *iface, HWND *phwnd) { HTMLDocument *This = impl_from_IOleInPlaceActiveObject(iface); TRACE("(%p)->(%p)\n", This, phwnd); if(!phwnd) return E_INVALIDARG; if(!This->doc_obj->in_place_active) { *phwnd = NULL; return E_FAIL; } *phwnd = This->doc_obj->hwnd; return S_OK; }
static HRESULT WINAPI InPlaceActiveObject_TranslateAccelerator(IOleInPlaceActiveObject *iface, LPMSG lpmsg) { WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface); IOleInPlaceActiveObject *activeobj; HRESULT hr = S_FALSE; TRACE("(%p)->(%p)\n", This, lpmsg); if(This->doc_host.document) { if(SUCCEEDED(IUnknown_QueryInterface(This->doc_host.document, &IID_IOleInPlaceActiveObject, (void**)&activeobj))) { hr = IOleInPlaceActiveObject_TranslateAccelerator(activeobj, lpmsg); IOleInPlaceActiveObject_Release(activeobj); } } if(SUCCEEDED(hr)) return hr; else return S_FALSE; }
static HRESULT WINAPI InPlaceActiveObject_ContextSensitiveHelp(IOleInPlaceActiveObject *iface, BOOL fEnterMode) { WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface); return IOleInPlaceObject_ContextSensitiveHelp(&This->IOleInPlaceObject_iface, fEnterMode); }
static HRESULT WINAPI InPlaceActiveObject_GetWindow(IOleInPlaceActiveObject *iface, HWND *phwnd) { WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface); return IOleInPlaceObject_GetWindow(&This->IOleInPlaceObject_iface, phwnd); }
static ULONG WINAPI InPlaceActiveObject_Release(IOleInPlaceActiveObject *iface) { WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface); return IWebBrowser2_Release(&This->IWebBrowser2_iface); }
static HRESULT WINAPI InPlaceActiveObject_QueryInterface(IOleInPlaceActiveObject *iface, REFIID riid, void **ppv) { WebBrowser *This = impl_from_IOleInPlaceActiveObject(iface); return IWebBrowser2_QueryInterface(&This->IWebBrowser2_iface, riid, ppv); }
static ULONG WINAPI OleInPlaceActiveObject_Release(IOleInPlaceActiveObject *iface) { HTMLDocument *This = impl_from_IOleInPlaceActiveObject(iface); return htmldoc_release(This); }
static ULONG WINAPI OleInPlaceActiveObject_AddRef(IOleInPlaceActiveObject *iface) { HTMLDocument *This = impl_from_IOleInPlaceActiveObject(iface); return htmldoc_addref(This); }
static HRESULT WINAPI OleInPlaceActiveObject_QueryInterface(IOleInPlaceActiveObject *iface, REFIID riid, void **ppv) { HTMLDocument *This = impl_from_IOleInPlaceActiveObject(iface); return htmldoc_query_interface(This, riid, ppv); }
static HRESULT WINAPI OleInPlaceActiveObject_TranslateAccelerator(IOleInPlaceActiveObject *iface, LPMSG lpmsg) { HTMLDocument *This = impl_from_IOleInPlaceActiveObject(iface); FIXME("(%p)->(%p)\n", This, lpmsg); return E_NOTIMPL; }
static HRESULT WINAPI OleInPlaceActiveObject_ContextSensitiveHelp(IOleInPlaceActiveObject *iface, BOOL fEnterMode) { HTMLDocument *This = impl_from_IOleInPlaceActiveObject(iface); FIXME("(%p)->(%x)\n", This, fEnterMode); return E_NOTIMPL; }