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
f40b5448
Commit
f40b5448
authored
Apr 13, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml.idl: Added HTMLImg coclass declaration.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ab0e68a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
88 additions
and
67 deletions
+88
-67
htmlimg.c
dlls/mshtml/htmlimg.c
+67
-67
mshtml.idl
include/mshtml.idl
+21
-0
No files found.
dlls/mshtml/htmlimg.c
View file @
f40b5448
...
...
@@ -33,50 +33,50 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
typedef
struct
{
struct
HTMLImg
{
HTMLElement
element
;
IHTMLImgElement
IHTMLImgElement_iface
;
nsIDOMHTMLImageElement
*
nsimg
;
}
HTMLImgElement
;
};
static
inline
HTMLImg
Element
*
impl_from_IHTMLImgElement
(
IHTMLImgElement
*
iface
)
static
inline
HTMLImg
*
impl_from_IHTMLImgElement
(
IHTMLImgElement
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLImg
Element
,
IHTMLImgElement_iface
);
return
CONTAINING_RECORD
(
iface
,
HTMLImg
,
IHTMLImgElement_iface
);
}
static
HRESULT
WINAPI
HTMLImgElement_QueryInterface
(
IHTMLImgElement
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
return
IHTMLDOMNode_QueryInterface
(
&
This
->
element
.
node
.
IHTMLDOMNode_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
HTMLImgElement_AddRef
(
IHTMLImgElement
*
iface
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
return
IHTMLDOMNode_AddRef
(
&
This
->
element
.
node
.
IHTMLDOMNode_iface
);
}
static
ULONG
WINAPI
HTMLImgElement_Release
(
IHTMLImgElement
*
iface
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
return
IHTMLDOMNode_Release
(
&
This
->
element
.
node
.
IHTMLDOMNode_iface
);
}
static
HRESULT
WINAPI
HTMLImgElement_GetTypeInfoCount
(
IHTMLImgElement
*
iface
,
UINT
*
pctinfo
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
element
.
node
.
event_target
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
HTMLImgElement_GetTypeInfo
(
IHTMLImgElement
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
element
.
node
.
event_target
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
...
...
@@ -85,7 +85,7 @@ static HRESULT WINAPI HTMLImgElement_GetIDsOfNames(IHTMLImgElement *iface, REFII
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
return
IDispatchEx_GetIDsOfNames
(
&
This
->
element
.
node
.
event_target
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
...
...
@@ -94,14 +94,14 @@ static HRESULT WINAPI HTMLImgElement_Invoke(IHTMLImgElement *iface, DISPID dispI
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
return
IDispatchEx_Invoke
(
&
This
->
element
.
node
.
event_target
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
HTMLImgElement_put_isMap
(
IHTMLImgElement
*
iface
,
VARIANT_BOOL
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsresult
nsres
;
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
v
);
...
...
@@ -117,7 +117,7 @@ static HRESULT WINAPI HTMLImgElement_put_isMap(IHTMLImgElement *iface, VARIANT_B
static
HRESULT
WINAPI
HTMLImgElement_get_isMap
(
IHTMLImgElement
*
iface
,
VARIANT_BOOL
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
cpp_bool
b
;
nsresult
nsres
;
...
...
@@ -137,119 +137,119 @@ static HRESULT WINAPI HTMLImgElement_get_isMap(IHTMLImgElement *iface, VARIANT_B
static
HRESULT
WINAPI
HTMLImgElement_put_useMap
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_useMap
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_mimeType
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_fileSize
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_fileCreatedDate
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_fileModifiedDate
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_fileUpdatedDate
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_protocol
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_href
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_nameProp
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_put_border
(
IHTMLImgElement
*
iface
,
VARIANT
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_border
(
IHTMLImgElement
*
iface
,
VARIANT
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_put_vspace
(
IHTMLImgElement
*
iface
,
LONG
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_vspace
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_put_hspace
(
IHTMLImgElement
*
iface
,
LONG
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_hspace
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_put_alt
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsAString
alt_str
;
nsresult
nsres
;
...
...
@@ -266,7 +266,7 @@ static HRESULT WINAPI HTMLImgElement_put_alt(IHTMLImgElement *iface, BSTR v)
static
HRESULT
WINAPI
HTMLImgElement_get_alt
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsAString
alt_str
;
nsresult
nsres
;
...
...
@@ -279,7 +279,7 @@ static HRESULT WINAPI HTMLImgElement_get_alt(IHTMLImgElement *iface, BSTR *p)
static
HRESULT
WINAPI
HTMLImgElement_put_src
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsAString
src_str
;
nsresult
nsres
;
...
...
@@ -296,7 +296,7 @@ static HRESULT WINAPI HTMLImgElement_put_src(IHTMLImgElement *iface, BSTR v)
static
HRESULT
WINAPI
HTMLImgElement_get_src
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
const
PRUnichar
*
src
;
nsAString
src_str
;
nsresult
nsres
;
...
...
@@ -330,56 +330,56 @@ static HRESULT WINAPI HTMLImgElement_get_src(IHTMLImgElement *iface, BSTR *p)
static
HRESULT
WINAPI
HTMLImgElement_put_lowsrc
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_lowsrc
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_put_vrml
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_vrml
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_put_dynsrc
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_dynsrc
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_readyState
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_complete
(
IHTMLImgElement
*
iface
,
VARIANT_BOOL
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
cpp_bool
complete
;
nsresult
nsres
;
...
...
@@ -397,21 +397,21 @@ static HRESULT WINAPI HTMLImgElement_get_complete(IHTMLImgElement *iface, VARIAN
static
HRESULT
WINAPI
HTMLImgElement_put_loop
(
IHTMLImgElement
*
iface
,
VARIANT
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_loop
(
IHTMLImgElement
*
iface
,
VARIANT
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_put_align
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsAString
str
;
nsresult
nsres
;
...
...
@@ -431,7 +431,7 @@ static HRESULT WINAPI HTMLImgElement_put_align(IHTMLImgElement *iface, BSTR v)
static
HRESULT
WINAPI
HTMLImgElement_get_align
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsAString
str
;
nsresult
nsres
;
...
...
@@ -445,7 +445,7 @@ static HRESULT WINAPI HTMLImgElement_get_align(IHTMLImgElement *iface, BSTR *p)
static
HRESULT
WINAPI
HTMLImgElement_put_onload
(
IHTMLImgElement
*
iface
,
VARIANT
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
...
...
@@ -454,7 +454,7 @@ static HRESULT WINAPI HTMLImgElement_put_onload(IHTMLImgElement *iface, VARIANT
static
HRESULT
WINAPI
HTMLImgElement_get_onload
(
IHTMLImgElement
*
iface
,
VARIANT
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -463,7 +463,7 @@ static HRESULT WINAPI HTMLImgElement_get_onload(IHTMLImgElement *iface, VARIANT
static
HRESULT
WINAPI
HTMLImgElement_put_onerror
(
IHTMLImgElement
*
iface
,
VARIANT
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
TRACE
(
"(%p)->()
\n
"
,
This
);
...
...
@@ -472,7 +472,7 @@ static HRESULT WINAPI HTMLImgElement_put_onerror(IHTMLImgElement *iface, VARIANT
static
HRESULT
WINAPI
HTMLImgElement_get_onerror
(
IHTMLImgElement
*
iface
,
VARIANT
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -481,7 +481,7 @@ static HRESULT WINAPI HTMLImgElement_get_onerror(IHTMLImgElement *iface, VARIANT
static
HRESULT
WINAPI
HTMLImgElement_put_onabort
(
IHTMLImgElement
*
iface
,
VARIANT
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
TRACE
(
"(%p)->()
\n
"
,
This
);
...
...
@@ -490,7 +490,7 @@ static HRESULT WINAPI HTMLImgElement_put_onabort(IHTMLImgElement *iface, VARIANT
static
HRESULT
WINAPI
HTMLImgElement_get_onabort
(
IHTMLImgElement
*
iface
,
VARIANT
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -499,14 +499,14 @@ static HRESULT WINAPI HTMLImgElement_get_onabort(IHTMLImgElement *iface, VARIANT
static
HRESULT
WINAPI
HTMLImgElement_put_name
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_name
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsAString
name
;
nsresult
nsres
;
...
...
@@ -519,7 +519,7 @@ static HRESULT WINAPI HTMLImgElement_get_name(IHTMLImgElement *iface, BSTR *p)
static
HRESULT
WINAPI
HTMLImgElement_put_width
(
IHTMLImgElement
*
iface
,
LONG
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsresult
nsres
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
v
);
...
...
@@ -535,7 +535,7 @@ static HRESULT WINAPI HTMLImgElement_put_width(IHTMLImgElement *iface, LONG v)
static
HRESULT
WINAPI
HTMLImgElement_get_width
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
UINT32
width
;
nsresult
nsres
;
...
...
@@ -553,7 +553,7 @@ static HRESULT WINAPI HTMLImgElement_get_width(IHTMLImgElement *iface, LONG *p)
static
HRESULT
WINAPI
HTMLImgElement_put_height
(
IHTMLImgElement
*
iface
,
LONG
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
nsresult
nsres
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
v
);
...
...
@@ -569,7 +569,7 @@ static HRESULT WINAPI HTMLImgElement_put_height(IHTMLImgElement *iface, LONG v)
static
HRESULT
WINAPI
HTMLImgElement_get_height
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
UINT32
height
;
nsresult
nsres
;
...
...
@@ -587,14 +587,14 @@ static HRESULT WINAPI HTMLImgElement_get_height(IHTMLImgElement *iface, LONG *p)
static
HRESULT
WINAPI
HTMLImgElement_put_start
(
IHTMLImgElement
*
iface
,
BSTR
v
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLImgElement_get_start
(
IHTMLImgElement
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImg
*
This
=
impl_from_IHTMLImgElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
...
...
@@ -657,14 +657,14 @@ static const IHTMLImgElementVtbl HTMLImgElementVtbl = {
HTMLImgElement_get_start
};
static
inline
HTMLImg
Element
*
impl_from_HTMLDOMNode
(
HTMLDOMNode
*
iface
)
static
inline
HTMLImg
*
impl_from_HTMLDOMNode
(
HTMLDOMNode
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLImg
Element
,
element
.
node
);
return
CONTAINING_RECORD
(
iface
,
HTMLImg
,
element
.
node
);
}
static
HRESULT
HTMLImgElement_QI
(
HTMLDOMNode
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLImg
Element
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLImg
*
This
=
impl_from_HTMLDOMNode
(
iface
);
*
ppv
=
NULL
;
...
...
@@ -681,14 +681,14 @@ static HRESULT HTMLImgElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static
HRESULT
HTMLImgElement_get_readystate
(
HTMLDOMNode
*
iface
,
BSTR
*
p
)
{
HTMLImg
Element
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLImg
*
This
=
impl_from_HTMLDOMNode
(
iface
);
return
IHTMLImgElement_get_readyState
(
&
This
->
IHTMLImgElement_iface
,
p
);
}
static
void
HTMLImgElement_traverse
(
HTMLDOMNode
*
iface
,
nsCycleCollectionTraversalCallback
*
cb
)
{
HTMLImg
Element
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLImg
*
This
=
impl_from_HTMLDOMNode
(
iface
);
if
(
This
->
nsimg
)
note_cc_edge
((
nsISupports
*
)
This
->
nsimg
,
"This->nsimg"
,
cb
);
...
...
@@ -696,7 +696,7 @@ static void HTMLImgElement_traverse(HTMLDOMNode *iface, nsCycleCollectionTravers
static
void
HTMLImgElement_unlink
(
HTMLDOMNode
*
iface
)
{
HTMLImg
Element
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLImg
*
This
=
impl_from_HTMLDOMNode
(
iface
);
if
(
This
->
nsimg
)
{
nsIDOMHTMLImageElement
*
nsimg
=
This
->
nsimg
;
...
...
@@ -740,10 +740,10 @@ static dispex_static_data_t HTMLImgElement_dispex = {
HRESULT
HTMLImgElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
{
HTMLImg
Element
*
ret
;
HTMLImg
*
ret
;
nsresult
nsres
;
ret
=
heap_alloc_zero
(
sizeof
(
HTMLImg
Element
));
ret
=
heap_alloc_zero
(
sizeof
(
HTMLImg
));
if
(
!
ret
)
return
E_OUTOFMEMORY
;
...
...
include/mshtml.idl
View file @
f40b5448
...
...
@@ -8921,6 +8921,27 @@ methods:
}
/*****************************************************************************
*
HTMLImg
coclass
*/
[
noncreatable
,
uuid
(
3050
f241
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
)
]
coclass
HTMLImg
{
[
default
]
dispinterface
DispHTMLImg
;
/*
[
source
,
default
]
dispinterface
HTMLImgEvents
; */
/*
[
source
]
dispinterface
HTMLImgEvents2
; */
WINE_HTMLDATAELEMENT_INTERFACES
;
interface
IHTMLControlElement
;
interface
IHTMLImgElement
;
/*
interface
IHTMLImgElement2
; */
/*
interface
IHTMLImgElement3
; */
/*
interface
IHTMLImgElement4
; */
/*
interface
IHTMLMSImgElement
; */
}
/*****************************************************************************
*
IHTMLXMLHttpRequest
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