2 * Implementation of miscellaneous interfaces for IE Web Browser 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 static HRESULT WINAPI WBQA_QueryInterface(LPQUICKACTIVATE iface,
33 REFIID riid, LPVOID *ppobj)
35 FIXME("- no interface\n\tIID:\t%s\n", debugstr_guid(riid));
37 if (ppobj == NULL) return E_POINTER;
42 static ULONG WINAPI WBQA_AddRef(LPQUICKACTIVATE iface)
46 return 2; /* non-heap based object */
49 static ULONG WINAPI WBQA_Release(LPQUICKACTIVATE iface)
51 SHDOCVW_UnlockModule();
53 return 1; /* non-heap based object */
56 /* Alternative interface for quicker, easier activation of a control. */
57 static HRESULT WINAPI WBQA_QuickActivate(LPQUICKACTIVATE iface,
58 QACONTAINER *pQaContainer,
59 QACONTROL *pQaControl)
61 FIXME("stub: QACONTAINER = %p, QACONTROL = %p\n", pQaContainer, pQaControl);
65 static HRESULT WINAPI WBQA_SetContentExtent(LPQUICKACTIVATE iface, LPSIZEL pSizel)
67 FIXME("stub: LPSIZEL = %p\n", pSizel);
71 static HRESULT WINAPI WBQA_GetContentExtent(LPQUICKACTIVATE iface, LPSIZEL pSizel)
73 FIXME("stub: LPSIZEL = %p\n", pSizel);
77 /**********************************************************************
78 * IQuickActivate virtual function table for IE Web Browser component
81 static IQuickActivateVtbl WBQA_Vtbl =
87 WBQA_SetContentExtent,
91 IQuickActivateImpl SHDOCVW_QuickActivate = {&WBQA_Vtbl};
93 /**********************************************************************
96 void WINAPI OpenURL(HWND hWnd, HINSTANCE hInst, LPCSTR lpcstrUrl, int nShowCmd)
98 FIXME("%p %p %s %d\n", hWnd, hInst, debugstr_a(lpcstrUrl), nShowCmd);