41 *
ppv = &
This->IOleClientSite_iface;
44 *
ppv = &
This->IOleClientSite_iface;
47 *
ppv = &
This->IOleInPlaceSiteEx_iface;
50 *
ppv = &
This->IOleInPlaceSiteEx_iface;
53 *
ppv = &
This->IOleInPlaceSiteEx_iface;
56 *
ppv = &
This->IDocHostUIHandler2_iface;
59 *
ppv = &
This->IDocHostUIHandler2_iface;
62 *
ppv = &
This->IOleDocumentSite_iface;
65 *
ppv = &
This->IOleControlSite_iface;
68 *
ppv = &
This->IOleCommandTarget_iface;
73 TRACE(
"(%p)->(IID_IPropertyNotifySink %p)\n",
This,
ppv);
74 *
ppv = &
This->IPropertyNotifySink_iface;
77 *
ppv = &
This->IServiceProvider_iface;
91 return This->container_vtbl->addref(
This);
97 return This->container_vtbl->release(
This);
111 FIXME(
"(%p)->(%d %d %p)\n",
This, dwAssign, dwWhichMoniker, ppmk);
118 FIXME(
"(%p)->(%p)\n",
This, ppContainer);
163 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
169 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
175 return IOleClientSite_Release(&
This->IOleClientSite_iface);
224 LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
228 TRACE(
"(%p)->(%p %p %p %p %p)\n",
This, ppFrame, ppDoc, lprcPosRect,
229 lprcClipRect, lpFrameInfo);
231 IOleInPlaceFrame_AddRef(&
This->IOleInPlaceFrame_iface);
232 *ppFrame = &
This->IOleInPlaceFrame_iface;
236 *lprcClipRect = *lprcPosRect;
238 lpFrameInfo->fMDIApp =
FALSE;
239 lpFrameInfo->hwndFrame =
This->frame_hwnd;
240 lpFrameInfo->haccel =
NULL;
241 lpFrameInfo->cAccelEntries = 0;
249 FIXME(
"(%p)->({%d %d})\n",
This, scrollExtent.
cx, scrollExtent.
cy);
288 FIXME(
"(%p)->(%p)\n",
This, lprcPosRect);
317 FIXME(
"fNoRedraw (%x) ignored\n", fNoRedraw);
364 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
370 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
376 return IOleClientSite_Release(&
This->IOleClientSite_iface);
387 TRACE(
"(%p)->(%p)\n",
This, pViewToActivate);
389 hres = IUnknown_QueryInterface(
This->document, &IID_IOleDocument, (
void**)&oledoc);
394 IOleDocument_Release(oledoc);
399 IOleDocumentView_SetRect(
This->view, &
rect);
421 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
427 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
433 return IOleClientSite_Release(&
This->IOleClientSite_iface);
461 FIXME(
"(%p)->(%p, %p, %08x)\n",
This, pPtlHimetric, pPtfContainer,
dwFlags);
474 TRACE(
"(%p)->(%p, %08x)\n",
This, pMsg, grfModifiers);
478 hr = IOleObject_GetClientSite(wb_obj, &clientsite);
482 hr = IOleControlSite_TranslateAccelerator(controlsite, pMsg, grfModifiers);
483 IOleControlSite_Release(controlsite);
485 IOleClientSite_Release(clientsite);
487 IOleObject_Release(wb_obj);
531 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
537 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
543 return IOleClientSite_Release(&
This->IOleClientSite_iface);
560 TRACE(
"(%p)->(%u %d %p)\n",
This, iTInfo, lcid, ppTInfo);
580#define CASE_DISPID(did) case did: return #did
597 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
604 switch(dispIdMember) {
609 if(!
This->client_disp)
611 return IDispatch_Invoke(
This->client_disp, dispIdMember,
riid, lcid,
wFlags,
612 pDispParams, pVarResult, pExcepInfo, puArgErr);
623 FIXME(
"unhandled dispid %d\n", dispIdMember);
646 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
652 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
658 return IOleClientSite_Release(&
This->IOleClientSite_iface);
668 return IWebBrowser2_QueryInterface(
This->wb,
riid,
ppv);
673 return IWebBrowser2_QueryInterface(
This->wb,
riid,
ppv);
676 if(
IsEqualGUID(&IID_IWebBrowserApp, guidService)) {
677 TRACE(
"IWebBrowserApp service\n");
678 return IWebBrowser2_QueryInterface(
This->wb,
riid,
ppv);
684 if(!
This->browser_service) {
692 return IShellBrowser_QueryInterface(&
This->browser_service->IShellBrowser_iface,
riid,
ppv);
695 if(
IsEqualGUID(&SID_SNewWindowManager, guidService)) {
696 TRACE(
"SID_SNewWindowManager service\n");
697 return INewWindowManager_QueryInterface(&
This->nwm.INewWindowManager_iface,
riid,
ppv);
724 if(
This->browser_service)
727 IOleDocumentView_Release(
This->view);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static HRESULT WINAPI InPlaceSite_Scroll(IOleInPlaceSiteEx *iface, SIZE scrollExtent)
static HRESULT WINAPI ClServiceProvider_QueryInterface(IServiceProvider *iface, REFIID riid, void **ppv)
static HRESULT WINAPI InPlaceSite_OnInPlaceActivateEx(IOleInPlaceSiteEx *iface, BOOL *pfNoRedraw, DWORD dwFlags)
static const IOleClientSiteVtbl OleClientSiteVtbl
static HRESULT WINAPI ClientSite_RequestNewObjectLayout(IOleClientSite *iface)
static HRESULT WINAPI InPlaceSite_OnPosRectChange(IOleInPlaceSiteEx *iface, LPCRECT lprcPosRect)
static HRESULT WINAPI ControlSite_ShowPropertyFrame(IOleControlSite *iface)
static HRESULT WINAPI ControlSite_OnControlInfoChanged(IOleControlSite *iface)
static HRESULT WINAPI InPlaceSite_OnUIActivate(IOleInPlaceSiteEx *iface)
static DocHost * impl_from_IOleInPlaceSiteEx(IOleInPlaceSiteEx *iface)
static ULONG WINAPI OleDocumentSite_Release(IOleDocumentSite *iface)
static ULONG WINAPI ClDispatch_AddRef(IDispatch *iface)
void DocHost_ClientSite_Release(DocHost *This)
static const IOleInPlaceSiteExVtbl OleInPlaceSiteExVtbl
static HRESULT WINAPI ClientSite_ShowObject(IOleClientSite *iface)
static ULONG WINAPI ClientSite_AddRef(IOleClientSite *iface)
static ULONG WINAPI ControlSite_Release(IOleControlSite *iface)
static HRESULT WINAPI InPlaceSite_DeactivateAndUndo(IOleInPlaceSiteEx *iface)
static HRESULT WINAPI InPlaceSite_GetWindow(IOleInPlaceSiteEx *iface, HWND *phwnd)
static HRESULT WINAPI InPlaceSite_OnUIDeactivate(IOleInPlaceSiteEx *iface, BOOL fUndoable)
static HRESULT WINAPI ClServiceProvider_QueryService(IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv)
static HRESULT WINAPI OleDocumentSite_QueryInterface(IOleDocumentSite *iface, REFIID riid, void **ppv)
static ULONG WINAPI ControlSite_AddRef(IOleControlSite *iface)
static ULONG WINAPI ClientSite_Release(IOleClientSite *iface)
static HRESULT WINAPI ControlSite_GetExtendedControl(IOleControlSite *iface, IDispatch **ppDisp)
static DocHost * impl_from_IDispatch(IDispatch *iface)
static ULONG WINAPI ClServiceProvider_AddRef(IServiceProvider *iface)
static HRESULT WINAPI InPlaceSite_RequestUIActivate(IOleInPlaceSiteEx *iface)
static HRESULT WINAPI ClDispatch_Invoke(IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI ClDispatch_QueryInterface(IDispatch *iface, REFIID riid, void **ppv)
static ULONG WINAPI ClServiceProvider_Release(IServiceProvider *iface)
static HRESULT WINAPI ControlSite_TransformCoords(IOleControlSite *iface, POINTL *pPtlHimetric, POINTF *pPtfContainer, DWORD dwFlags)
static HRESULT WINAPI ControlSite_TranslateAccelerator(IOleControlSite *iface, MSG *pMsg, DWORD grfModifiers)
static const char * debugstr_dispid(DISPID dispid)
static HRESULT WINAPI InPlaceSite_ContextSensitiveHelp(IOleInPlaceSiteEx *iface, BOOL fEnterMode)
static ULONG WINAPI ClDispatch_Release(IDispatch *iface)
static HRESULT WINAPI InPlaceSite_QueryInterface(IOleInPlaceSiteEx *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ControlSite_OnFocus(IOleControlSite *iface, BOOL fGotFocus)
static HRESULT WINAPI ClientSite_GetMoniker(IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
static DocHost * impl_from_IOleDocumentSite(IOleDocumentSite *iface)
static IOleControlSiteVtbl OleControlSiteVtbl
static HRESULT WINAPI ClientSite_SaveObject(IOleClientSite *iface)
static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivateEx(IOleInPlaceSiteEx *iface, BOOL fNoRedraw)
void DocHost_ClientSite_Init(DocHost *This)
static DocHost * impl_from_IOleControlSite(IOleControlSite *iface)
static HRESULT WINAPI InPlaceSite_OnInPlaceActivate(IOleInPlaceSiteEx *iface)
static HRESULT WINAPI ClDispatch_GetIDsOfNames(IDispatch *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static const IDispatchVtbl DispatchVtbl
static HRESULT WINAPI ClDispatch_GetTypeInfoCount(IDispatch *iface, UINT *pctinfo)
static HRESULT WINAPI InPlaceSite_GetWindowContext(IOleInPlaceSiteEx *iface, IOleInPlaceFrame **ppFrame, IOleInPlaceUIWindow **ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
static HRESULT WINAPI InPlaceSite_DiscardUndoState(IOleInPlaceSiteEx *iface)
static const IOleDocumentSiteVtbl OleDocumentSiteVtbl
static HRESULT WINAPI ClDispatch_GetTypeInfo(IDispatch *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI ClientSite_QueryInterface(IOleClientSite *iface, REFIID riid, void **ppv)
static DocHost * impl_from_IOleClientSite(IOleClientSite *iface)
static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivate(IOleInPlaceSiteEx *iface)
static HRESULT WINAPI OleDocumentSite_ActivateMe(IOleDocumentSite *iface, IOleDocumentView *pViewToActivate)
static HRESULT WINAPI ClientSite_OnShowWindow(IOleClientSite *iface, BOOL fShow)
static ULONG WINAPI InPlaceSite_Release(IOleInPlaceSiteEx *iface)
static const IServiceProviderVtbl ServiceProviderVtbl
static ULONG WINAPI OleDocumentSite_AddRef(IOleDocumentSite *iface)
static HRESULT WINAPI ClientSite_GetContainer(IOleClientSite *iface, IOleContainer **ppContainer)
static HRESULT WINAPI InPlaceSite_CanInPlaceActivate(IOleInPlaceSiteEx *iface)
static ULONG WINAPI InPlaceSite_AddRef(IOleInPlaceSiteEx *iface)
static HRESULT WINAPI ControlSite_QueryInterface(IOleControlSite *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ControlSite_LockInPlaceActive(IOleControlSite *iface, BOOL fLock)
static DocHost * impl_from_IServiceProvider(IServiceProvider *iface)
GLenum GLuint GLenum GLsizei const GLchar * buf
#define DISPID_AMBIENT_OFFLINEIFNOTCONNECTED
#define DISPID_AMBIENT_SILENT
void detach_browser_service(ShellBrowser *) DECLSPEC_HIDDEN
HRESULT create_browser_service(DocHost *, ShellBrowser **) DECLSPEC_HIDDEN
#define sprintf(buf, format,...)
static VARIANTARG static DISPID
#define DISPID_AMBIENT_DLCONTROL
#define DISPID_AMBIENT_USERAGENT
#define DISPID_AMBIENT_USERMODE
#define DISPID_AMBIENT_PALETTE
const GUID IID_IOleInPlaceSite
const GUID IID_IPropertyNotifySink
const GUID IID_IOleWindow
const GUID IID_IOleControlSite
const GUID IID_IOleClientSite
const GUID IID_IOleObject
#define IsEqualGUID(rguid1, rguid2)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
#define CONTAINING_RECORD(address, type, field)
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)