2 * Implementation of miscellaneous interfaces for WebBrowser control:
6 * Copyright 2001 John R. Sheets (for CodeWeavers)
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #include "wine/debug.h"
26 WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
28 /**********************************************************************
29 * Implement the IQuickActivate interface
32 #define QUICKACT_THIS(iface) DEFINE_THIS(WebBrowser, QuickActivate, iface)
34 static HRESULT WINAPI QuickActivate_QueryInterface(IQuickActivate *iface,
35 REFIID riid, LPVOID *ppobj)
37 WebBrowser *This = QUICKACT_THIS(iface);
38 return IWebBrowser_QueryInterface(WEBBROWSER(This), riid, ppobj);
41 static ULONG WINAPI QuickActivate_AddRef(IQuickActivate *iface)
43 WebBrowser *This = QUICKACT_THIS(iface);
44 return IWebBrowser_AddRef(WEBBROWSER(This));
47 static ULONG WINAPI QuickActivate_Release(IQuickActivate *iface)
49 WebBrowser *This = QUICKACT_THIS(iface);
50 return IWebBrowser_Release(WEBBROWSER(This));
53 static HRESULT WINAPI QuickActivate_QuickActivate(IQuickActivate *iface,
54 QACONTAINER *pQaContainer, QACONTROL *pQaControl)
56 WebBrowser *This = QUICKACT_THIS(iface);
57 FIXME("(%p)->(%p %p)\n", This, pQaContainer, pQaControl);
61 static HRESULT WINAPI QuickActivate_SetContentExtent(IQuickActivate *iface, LPSIZEL pSizel)
63 WebBrowser *This = QUICKACT_THIS(iface);
64 FIXME("(%p)->(%p)\n", This, pSizel);
68 static HRESULT WINAPI QuickActivate_GetContentExtent(IQuickActivate *iface, LPSIZEL pSizel)
70 WebBrowser *This = QUICKACT_THIS(iface);
71 FIXME("(%p)->(%p)\n", This, pSizel);
77 static const IQuickActivateVtbl QuickActivateVtbl =
79 QuickActivate_QueryInterface,
81 QuickActivate_Release,
82 QuickActivate_QuickActivate,
83 QuickActivate_SetContentExtent,
84 QuickActivate_GetContentExtent
87 void WebBrowser_Misc_Init(WebBrowser *This)
89 This->lpQuickActivateVtbl = &QuickActivateVtbl;
92 /**********************************************************************
95 void WINAPI OpenURL(HWND hWnd, HINSTANCE hInst, LPCSTR lpcstrUrl, int nShowCmd)
97 FIXME("%p %p %s %d\n", hWnd, hInst, debugstr_a(lpcstrUrl), nShowCmd);