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
935ec95a
Commit
935ec95a
authored
Aug 16, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLObjectElement::put_height implementation.
parent
500985bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
htmlobject.c
dlls/mshtml/htmlobject.c
+27
-2
No files found.
dlls/mshtml/htmlobject.c
View file @
935ec95a
...
...
@@ -305,8 +305,33 @@ static HRESULT WINAPI HTMLObjectElement_get_width(IHTMLObjectElement *iface, VAR
static
HRESULT
WINAPI
HTMLObjectElement_put_height
(
IHTMLObjectElement
*
iface
,
VARIANT
v
)
{
HTMLObjectElement
*
This
=
impl_from_IHTMLObjectElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
nsAString
height_str
;
PRUnichar
buf
[
12
];
nsresult
nsres
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
switch
(
V_VT
(
&
v
))
{
case
VT_I4
:
{
static
const
WCHAR
formatW
[]
=
{
'%'
,
'd'
,
0
};
sprintfW
(
buf
,
formatW
,
V_I4
(
&
v
));
break
;
}
default:
FIXME
(
"unimplemented for arg %s
\n
"
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
}
nsAString_InitDepend
(
&
height_str
,
buf
);
nsres
=
nsIDOMHTMLObjectElement_SetHeight
(
This
->
nsobject
,
&
height_str
);
nsAString_Finish
(
&
height_str
);
if
(
NS_FAILED
(
nsres
))
{
FIXME
(
"SetHeight failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
notif_container_change
(
&
This
->
plugin_container
,
DISPID_UNKNOWN
);
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLObjectElement_get_height
(
IHTMLObjectElement
*
iface
,
VARIANT
*
p
)
...
...
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