source: trunk/src/shdocvw/misc.c@ 6649

Last change on this file since 6649 was 6649, checked in by bird, 24 years ago

Added $Id:$ keyword.

File size: 2.1 KB
Line 
1/* $Id: misc.c,v 1.2 2001-09-05 13:39:12 bird Exp $ */
2/*
3 * Implementation of miscellaneous interfaces for IE Web Browser control:
4 *
5 * - IQuickActivate
6 *
7 * 2001 John R. Sheets (for CodeWeavers)
8 */
9
10#include "debugtools.h"
11#include "shdocvw.h"
12
13DEFAULT_DEBUG_CHANNEL(shdocvw);
14
15/**********************************************************************
16 * Implement the IQuickActivate interface
17 */
18
19static HRESULT WINAPI WBQA_QueryInterface(LPQUICKACTIVATE iface,
20 REFIID riid, LPVOID *ppobj)
21{
22 ICOM_THIS(IQuickActivateImpl, iface);
23
24 FIXME("(%p)->(%s,%p),stub!\n", This, debugstr_guid(riid), ppobj);
25 return E_NOINTERFACE;
26}
27
28static ULONG WINAPI WBQA_AddRef(LPQUICKACTIVATE iface)
29{
30 ICOM_THIS(IQuickActivateImpl, iface);
31
32 TRACE("\n");
33 return ++(This->ref);
34}
35
36static ULONG WINAPI WBQA_Release(LPQUICKACTIVATE iface)
37{
38 ICOM_THIS(IQuickActivateImpl, iface);
39
40 /* static class, won't be freed */
41 TRACE("\n");
42 return --(This->ref);
43}
44
45/* Alternative interface for quicker, easier activation of a control. */
46static HRESULT WINAPI WBQA_QuickActivate(LPQUICKACTIVATE iface,
47 QACONTAINER *pQaContainer,
48 QACONTROL *pQaControl)
49{
50 FIXME("stub: QACONTAINER = %p, QACONTROL = %p\n", pQaContainer, pQaControl);
51 return S_OK;
52}
53
54static HRESULT WINAPI WBQA_SetContentExtent(LPQUICKACTIVATE iface, LPSIZEL pSizel)
55{
56 FIXME("stub: LPSIZEL = %p\n", pSizel);
57 return E_NOINTERFACE;
58}
59
60static HRESULT WINAPI WBQA_GetContentExtent(LPQUICKACTIVATE iface, LPSIZEL pSizel)
61{
62 FIXME("stub: LPSIZEL = %p\n", pSizel);
63 return E_NOINTERFACE;
64}
65
66/**********************************************************************
67 * IQuickActivate virtual function table for IE Web Browser component
68 */
69
70static ICOM_VTABLE(IQuickActivate) WBQA_Vtbl =
71{
72 ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
73 WBQA_QueryInterface,
74 WBQA_AddRef,
75 WBQA_Release,
76 WBQA_QuickActivate,
77 WBQA_SetContentExtent,
78 WBQA_GetContentExtent
79};
80
81IQuickActivateImpl SHDOCVW_QuickActivate = { &WBQA_Vtbl, 1 };
Note: See TracBrowser for help on using the repository browser.