Moved a few remaining 16-bit window functions to wnd16.c and moved it
[wine.git] / dlls / shdocvw / misc.c
blobe16a34c1bb9e5428d74f744c51cd5f681e6d0958
1 /*
2 * Implementation of miscellaneous interfaces for IE Web Browser control:
4 * - IQuickActivate
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"
24 #include "shdocvw.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 ICOM_THIS(IQuickActivateImpl, iface);
37 FIXME("(%p)->(%s,%p),stub!\n", This, debugstr_guid(riid), ppobj);
38 return E_NOINTERFACE;
41 static ULONG WINAPI WBQA_AddRef(LPQUICKACTIVATE iface)
43 ICOM_THIS(IQuickActivateImpl, iface);
45 TRACE("\n");
46 return ++(This->ref);
49 static ULONG WINAPI WBQA_Release(LPQUICKACTIVATE iface)
51 ICOM_THIS(IQuickActivateImpl, iface);
53 /* static class, won't be freed */
54 TRACE("\n");
55 return --(This->ref);
58 /* Alternative interface for quicker, easier activation of a control. */
59 static HRESULT WINAPI WBQA_QuickActivate(LPQUICKACTIVATE iface,
60 QACONTAINER *pQaContainer,
61 QACONTROL *pQaControl)
63 FIXME("stub: QACONTAINER = %p, QACONTROL = %p\n", pQaContainer, pQaControl);
64 return S_OK;
67 static HRESULT WINAPI WBQA_SetContentExtent(LPQUICKACTIVATE iface, LPSIZEL pSizel)
69 FIXME("stub: LPSIZEL = %p\n", pSizel);
70 return E_NOINTERFACE;
73 static HRESULT WINAPI WBQA_GetContentExtent(LPQUICKACTIVATE iface, LPSIZEL pSizel)
75 FIXME("stub: LPSIZEL = %p\n", pSizel);
76 return E_NOINTERFACE;
79 /**********************************************************************
80 * IQuickActivate virtual function table for IE Web Browser component
83 static ICOM_VTABLE(IQuickActivate) WBQA_Vtbl =
85 ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
86 WBQA_QueryInterface,
87 WBQA_AddRef,
88 WBQA_Release,
89 WBQA_QuickActivate,
90 WBQA_SetContentExtent,
91 WBQA_GetContentExtent
94 IQuickActivateImpl SHDOCVW_QuickActivate = { &WBQA_Vtbl, 1 };