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
7c54aa9f
Commit
7c54aa9f
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::get_height implementation.
parent
935ec95a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
htmlobject.c
dlls/mshtml/htmlobject.c
+22
-2
No files found.
dlls/mshtml/htmlobject.c
View file @
7c54aa9f
...
...
@@ -337,8 +337,28 @@ static HRESULT WINAPI HTMLObjectElement_put_height(IHTMLObjectElement *iface, VA
static
HRESULT
WINAPI
HTMLObjectElement_get_height
(
IHTMLObjectElement
*
iface
,
VARIANT
*
p
)
{
HTMLObjectElement
*
This
=
impl_from_IHTMLObjectElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString
height_str
;
nsresult
nsres
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_Init
(
&
height_str
,
NULL
);
nsres
=
nsIDOMHTMLObjectElement_GetHeight
(
This
->
nsobject
,
&
height_str
);
if
(
NS_SUCCEEDED
(
nsres
))
{
const
PRUnichar
*
height
;
nsAString_GetData
(
&
height_str
,
&
height
);
V_VT
(
p
)
=
VT_BSTR
;
V_BSTR
(
p
)
=
SysAllocString
(
height
);
hres
=
V_BSTR
(
p
)
?
S_OK
:
E_OUTOFMEMORY
;
}
else
{
ERR
(
"GetHeight failed: %08x
\n
"
,
nsres
);
hres
=
E_FAIL
;
}
nsAString_Finish
(
&
height_str
);
return
hres
;
}
static
HRESULT
WINAPI
HTMLObjectElement_get_readyState
(
IHTMLObjectElement
*
iface
,
LONG
*
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