38 return IWebBrowser2_QueryInterface(&
This->IWebBrowser2_iface,
riid,
ppv);
44 return IWebBrowser2_AddRef(&
This->IWebBrowser2_iface);
50 return IWebBrowser2_Release(&
This->IWebBrowser2_iface);
54 LONG lindex,
void *pvAspect, DVTARGETDEVICE *ptd,
HDC hdcTargetDev,
60 FIXME(
"(%p)->(%d %d %p %p %p %p %p %p %p %08lx)\n",
This, dwDrawAspect, lindex,
61 pvAspect, ptd, hdcTargetDev, hdcDraw, lprcBounds, lprcWBounds, pfnContinue,
67 LONG lindex,
void *pvAspect, DVTARGETDEVICE *ptd,
HDC hicTargetDev,
71 FIXME(
"(%p)->(%d %d %p %p %p %p)\n",
This, dwAspect, lindex, pvAspect, ptd,
72 hicTargetDev, ppColorSet);
77 void *pvAspect,
DWORD *pdwFreeze)
80 FIXME(
"(%p)->(%d %d %p %p)\n",
This, dwDrawAspect, lindex, pvAspect, pdwFreeze);
96 TRACE(
"(%p)->(%d %08x %p)\n",
This, aspects, advf, pAdvSink);
98 if (aspects || advf)
FIXME(
"aspects and/or flags not supported yet\n");
100 This->sink_aspects = aspects;
101 This->sink_flags = advf;
102 if (
This->sink) IAdviseSink_Release(
This->sink);
103 This->sink = pAdvSink;
104 if (
This->sink) IAdviseSink_AddRef(
This->sink);
114 TRACE(
"(%p)->(%p %p %p)\n",
This, pAspects, pAdvf, ppAdvSink);
116 if (pAspects) *pAspects =
This->sink_aspects;
117 if (pAdvf) *pAdvf =
This->sink_flags;
120 *ppAdvSink =
This->sink;
121 if (*ppAdvSink) IAdviseSink_AddRef(*ppAdvSink);
128 DVTARGETDEVICE *ptd,
LPSIZEL lpsizel)
131 FIXME(
"(%p)->(%d %d %p %p)\n",
This, dwAspect, lindex, ptd, lpsizel);
160 return IWebBrowser2_QueryInterface(&
This->IWebBrowser2_iface,
riid, ppvObj);
166 return IWebBrowser2_AddRef(&
This->IWebBrowser2_iface);
172 return IWebBrowser2_Release(&
This->IWebBrowser2_iface);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define STDMETHODCALLTYPE
static HRESULT WINAPI ViewObject_QueryInterface(IViewObject2 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ViewObject_Freeze(IViewObject2 *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DWORD *pdwFreeze)
static HRESULT WINAPI DataObject_QueryGetData(LPDATAOBJECT iface, LPFORMATETC pformatetc)
static HRESULT WINAPI ViewObject_SetAdvise(IViewObject2 *iface, DWORD aspects, DWORD advf, IAdviseSink *pAdvSink)
static HRESULT WINAPI DataObject_GetData(LPDATAOBJECT iface, LPFORMATETC pformatetcIn, STGMEDIUM *pmedium)
static ULONG WINAPI DataObject_Release(LPDATAOBJECT iface)
static HRESULT WINAPI DataObject_EnumFormatEtc(LPDATAOBJECT iface, DWORD dwDirection, IEnumFORMATETC **ppenumFormatEtc)
static ULONG WINAPI ViewObject_AddRef(IViewObject2 *iface)
static HRESULT WINAPI DataObject_GetCanonicalFormatEtc(LPDATAOBJECT iface, LPFORMATETC pformatectIn, LPFORMATETC pformatetcOut)
static const IViewObject2Vtbl ViewObjectVtbl
static WebBrowser * impl_from_IDataObject(IDataObject *iface)
static HRESULT WINAPI ViewObject_Draw(IViewObject2 *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcTargetDev, HDC hdcDraw, LPCRECTL lprcBounds, LPCRECTL lprcWBounds, BOOL(STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR), ULONG_PTR dwContinue)
static HRESULT WINAPI ViewObject_GetAdvise(IViewObject2 *iface, DWORD *pAspects, DWORD *pAdvf, IAdviseSink **ppAdvSink)
static HRESULT WINAPI DataObject_GetDataHere(LPDATAOBJECT iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium)
static HRESULT WINAPI DataObject_SetData(LPDATAOBJECT iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium, BOOL fRelease)
void WebBrowser_ViewObject_Init(WebBrowser *This)
static HRESULT WINAPI DataObject_EnumDAdvise(LPDATAOBJECT iface, IEnumSTATDATA **ppenumAdvise)
static HRESULT WINAPI ViewObject_Unfreeze(IViewObject2 *iface, DWORD dwFreeze)
static HRESULT WINAPI ViewObject_GetExtent(IViewObject2 *iface, DWORD dwAspect, LONG lindex, DVTARGETDEVICE *ptd, LPSIZEL lpsizel)
static ULONG WINAPI ViewObject_Release(IViewObject2 *iface)
static const IDataObjectVtbl DataObjectVtbl
static ULONG WINAPI DataObject_AddRef(LPDATAOBJECT iface)
static HRESULT WINAPI ViewObject_GetColorSet(IViewObject2 *iface, DWORD dwAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hicTargetDev, LOGPALETTE **ppColorSet)
static HRESULT WINAPI DataObject_DUnadvise(LPDATAOBJECT iface, DWORD dwConnection)
static HRESULT WINAPI DataObject_DAdvise(LPDATAOBJECT iface, FORMATETC *pformatetc, DWORD advf, IAdviseSink *pAdvSink, DWORD *pdwConnection)
static WebBrowser * impl_from_IViewObject2(IViewObject2 *iface)
static HRESULT WINAPI DataObject_QueryInterface(LPDATAOBJECT iface, REFIID riid, LPVOID *ppvObj)
interface IDataObject * LPDATAOBJECT
#define CONTAINING_RECORD(address, type, field)