ReactOS  0.4.14-dev-50-g13bb5e2
pluginhost.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010 Jacek Caban for CodeWeavers
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #pragma once
20 
22 typedef struct PHEventSink PHEventSink;
23 
24 typedef struct {
33 
35 
39 
41 
45 
47  struct list entry;
48 
51 } PluginHost;
52 
55 
57 
61 };
62 
63 DEFINE_GUID(IID_HTMLPluginContainer, 0xbd7a6050,0xb373,0x4f6f,0xa4,0x93,0xdd,0x40,0xc5,0x23,0xa8,0x6a);
64 
65 extern const IID IID_HTMLPluginContainer DECLSPEC_HIDDEN;
66 
70 
72 
75 
const IID IID_HTMLPluginContainer DECLSPEC_HIDDEN
HTMLDocumentNode * doc
Definition: pluginhost.h:46
IBindHost IBindHost_iface
Definition: pluginhost.h:31
void detach_plugin_host(PluginHost *) DECLSPEC_HIDDEN
Definition: pluginhost.c:1988
HWND hwnd
Definition: pluginhost.h:42
IOleInPlaceSiteEx IOleInPlaceSiteEx_iface
Definition: pluginhost.h:29
DWORD LCID
Definition: nls.h:13
HRESULT get_plugin_disp(HTMLPluginContainer *, IDispatch **) DECLSPEC_HIDDEN
Definition: pluginhost.c:352
IDispatch IDispatch_iface
Definition: pluginhost.h:28
HRESULT get_plugin_dispid(HTMLPluginContainer *, WCHAR *, DISPID *) DECLSPEC_HIDDEN
Definition: pluginhost.c:377
IAdviseSinkEx IAdviseSinkEx_iface
Definition: pluginhost.h:26
HRESULT invoke_plugin_prop(HTMLPluginContainer *, DISPID, LCID, WORD, DISPPARAMS *, VARIANT *, EXCEPINFO *) DECLSPEC_HIDDEN
Definition: pluginhost.c:428
unsigned int BOOL
Definition: ntddk_ex.h:94
void bind_activex_event(HTMLDocumentNode *, HTMLPluginContainer *, WCHAR *, IDispatch *) DECLSPEC_HIDDEN
Definition: pluginhost.c:758
long LONG
Definition: pedump.c:60
HTMLPluginContainer * element
Definition: pluginhost.h:50
HRESULT create_ip_window(IOleInPlaceUIWindow **) DECLSPEC_HIDDEN
Definition: ipwindow.c:317
BOOL ui_active
Definition: pluginhost.h:44
IServiceProvider IServiceProvider_iface
Definition: pluginhost.h:32
RECT rect
Definition: pluginhost.h:43
PluginHost * plugin_host
Definition: pluginhost.h:56
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
HRESULT create_ip_frame(IOleInPlaceFrame **) DECLSPEC_HIDDEN
Definition: ipwindow.c:189
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
IPropertyNotifySink IPropertyNotifySink_iface
Definition: pluginhost.h:27
IUnknown * plugin_unk
Definition: pluginhost.h:36
void notif_container_change(HTMLPluginContainer *, DISPID) DECLSPEC_HIDDEN
Definition: pluginhost.c:335
uint32_t entry
Definition: isohybrid.c:63
Definition: _list.h:228
LONG ref
Definition: pluginhost.h:34
struct stdole::EXCEPINFO EXCEPINFO
static VARIANTARG static DISPID
Definition: ordinal.c:49
IDispatch * disp
Definition: pluginhost.h:40
HRESULT create_param_prop_bag(nsIDOMHTMLElement *, IPropertyBag **) DECLSPEC_HIDDEN
Definition: propbag.c:317
CLSID clsid
Definition: pluginhost.h:38
struct stdole::DISPPARAMS DISPPARAMS
DEFINE_GUID(IID_HTMLPluginContainer, 0xbd7a6050, 0xb373, 0x4f6f, 0xa4, 0x93, 0xdd, 0x40, 0xc5, 0x23, 0xa8, 0x6a)
void update_plugin_window(PluginHost *, HWND, const RECT *) DECLSPEC_HIDDEN
Definition: pluginhost.c:287
IOleClientSite IOleClientSite_iface
Definition: pluginhost.h:25
IOleInPlaceObject * ip_object
Definition: pluginhost.h:37
HRESULT create_plugin_host(HTMLDocumentNode *, HTMLPluginContainer *) DECLSPEC_HIDDEN
Definition: pluginhost.c:2048
PHEventSink * sink
Definition: pluginhost.h:49
IOleControlSite IOleControlSite_iface
Definition: pluginhost.h:30
HTMLElement element
Definition: pluginhost.h:54