Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e4a436ee
Commit
e4a436ee
authored
Apr 20, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml.idl: Added HTMLEmbed coclass declaration.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
68952c4c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
30 deletions
+49
-30
htmlembed.c
dlls/mshtml/htmlembed.c
+30
-30
mshtml.idl
include/mshtml.idl
+19
-0
No files found.
dlls/mshtml/htmlembed.c
View file @
e4a436ee
...
...
@@ -32,49 +32,49 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
typedef
struct
{
struct
HTMLEmbed
{
HTMLElement
element
;
IHTMLEmbedElement
IHTMLEmbedElement_iface
;
}
HTMLEmbedElement
;
};
static
inline
HTMLEmbed
Element
*
impl_from_IHTMLEmbedElement
(
IHTMLEmbedElement
*
iface
)
static
inline
HTMLEmbed
*
impl_from_IHTMLEmbedElement
(
IHTMLEmbedElement
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLEmbed
Element
,
IHTMLEmbedElement_iface
);
return
CONTAINING_RECORD
(
iface
,
HTMLEmbed
,
IHTMLEmbedElement_iface
);
}
static
HRESULT
WINAPI
HTMLEmbedElement_QueryInterface
(
IHTMLEmbedElement
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
return
IHTMLDOMNode_QueryInterface
(
&
This
->
element
.
node
.
IHTMLDOMNode_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
HTMLEmbedElement_AddRef
(
IHTMLEmbedElement
*
iface
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
return
IHTMLDOMNode_AddRef
(
&
This
->
element
.
node
.
IHTMLDOMNode_iface
);
}
static
ULONG
WINAPI
HTMLEmbedElement_Release
(
IHTMLEmbedElement
*
iface
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
return
IHTMLDOMNode_Release
(
&
This
->
element
.
node
.
IHTMLDOMNode_iface
);
}
static
HRESULT
WINAPI
HTMLEmbedElement_GetTypeInfoCount
(
IHTMLEmbedElement
*
iface
,
UINT
*
pctinfo
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
element
.
node
.
event_target
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
HTMLEmbedElement_GetTypeInfo
(
IHTMLEmbedElement
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
element
.
node
.
event_target
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
...
...
@@ -82,7 +82,7 @@ static HRESULT WINAPI HTMLEmbedElement_GetTypeInfo(IHTMLEmbedElement *iface, UIN
static
HRESULT
WINAPI
HTMLEmbedElement_GetIDsOfNames
(
IHTMLEmbedElement
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
return
IDispatchEx_GetIDsOfNames
(
&
This
->
element
.
node
.
event_target
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
...
...
@@ -91,105 +91,105 @@ static HRESULT WINAPI HTMLEmbedElement_Invoke(IHTMLEmbedElement *iface, DISPID d
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
return
IDispatchEx_Invoke
(
&
This
->
element
.
node
.
event_target
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
HTMLEmbedElement_put_hidden
(
IHTMLEmbedElement
*
iface
,
BSTR
v
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_get_hidden
(
IHTMLEmbedElement
*
iface
,
BSTR
*
p
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_get_palette
(
IHTMLEmbedElement
*
iface
,
BSTR
*
p
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_get_pluginspage
(
IHTMLEmbedElement
*
iface
,
BSTR
*
p
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_put_src
(
IHTMLEmbedElement
*
iface
,
BSTR
v
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_get_src
(
IHTMLEmbedElement
*
iface
,
BSTR
*
p
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_put_units
(
IHTMLEmbedElement
*
iface
,
BSTR
v
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_get_units
(
IHTMLEmbedElement
*
iface
,
BSTR
*
p
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_put_name
(
IHTMLEmbedElement
*
iface
,
BSTR
v
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_get_name
(
IHTMLEmbedElement
*
iface
,
BSTR
*
p
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_put_width
(
IHTMLEmbedElement
*
iface
,
VARIANT
v
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_get_width
(
IHTMLEmbedElement
*
iface
,
VARIANT
*
p
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_put_height
(
IHTMLEmbedElement
*
iface
,
VARIANT
v
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLEmbedElement_get_height
(
IHTMLEmbedElement
*
iface
,
VARIANT
*
p
)
{
HTMLEmbed
Element
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
HTMLEmbed
*
This
=
impl_from_IHTMLEmbedElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
...
...
@@ -218,14 +218,14 @@ static const IHTMLEmbedElementVtbl HTMLEmbedElementVtbl = {
HTMLEmbedElement_get_height
};
static
inline
HTMLEmbed
Element
*
impl_from_HTMLDOMNode
(
HTMLDOMNode
*
iface
)
static
inline
HTMLEmbed
*
impl_from_HTMLDOMNode
(
HTMLDOMNode
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLEmbed
Element
,
element
.
node
);
return
CONTAINING_RECORD
(
iface
,
HTMLEmbed
,
element
.
node
);
}
static
HRESULT
HTMLEmbedElement_QI
(
HTMLDOMNode
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLEmbed
Element
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLEmbed
*
This
=
impl_from_HTMLDOMNode
(
iface
);
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_mshtml_guid
(
riid
),
ppv
);
...
...
@@ -245,7 +245,7 @@ static HRESULT HTMLEmbedElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static
void
HTMLEmbedElement_destructor
(
HTMLDOMNode
*
iface
)
{
HTMLEmbed
Element
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLEmbed
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLElement_destructor
(
&
This
->
element
.
node
);
}
...
...
@@ -273,7 +273,7 @@ static dispex_static_data_t HTMLEmbedElement_dispex = {
HRESULT
HTMLEmbedElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
{
HTMLEmbed
Element
*
ret
;
HTMLEmbed
*
ret
;
ret
=
heap_alloc_zero
(
sizeof
(
*
ret
));
if
(
!
ret
)
...
...
include/mshtml.idl
View file @
e4a436ee
...
...
@@ -16676,6 +16676,25 @@ methods:
}
/*****************************************************************************
*
HTMLEmbed
coclass
*/
[
noncreatable
,
uuid
(
3050
f25d
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
coclass
HTMLEmbed
{
[
default
]
dispinterface
DispHTMLEmbed
;
/*
[
source
,
default
]
dispinterface
HTMLControlElementEvents
; */
/*
[
source
]
dispinterface
HTMLControlElementEvents2
; */
WINE_HTMLELEMENT_INTERFACES
;
interface
IHTMLControlElement
;
interface
IHTMLEmbedElement
;
/*
interface
IHTMLEmbedElement2
; */
/*
interface
IGetSVGDocument
; */
}
/*****************************************************************************
*
IHTMLCommentElement
interface
*/
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment