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
f44e289a
Commit
f44e289a
authored
Apr 12, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLBodyElement::get_background implementation.
parent
8b13f18d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
htmlbody.c
dlls/mshtml/htmlbody.c
+21
-2
No files found.
dlls/mshtml/htmlbody.c
View file @
f44e289a
...
...
@@ -145,8 +145,27 @@ static HRESULT WINAPI HTMLBodyElement_put_background(IHTMLBodyElement *iface, BS
static
HRESULT
WINAPI
HTMLBodyElement_get_background
(
IHTMLBodyElement
*
iface
,
BSTR
*
p
)
{
HTMLBodyElement
*
This
=
HTMLBODY_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString
background_str
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_Init
(
&
background_str
,
NULL
);
nsres
=
nsIDOMHTMLBodyElement_GetBackground
(
This
->
nsbody
,
&
background_str
);
if
(
NS_SUCCEEDED
(
nsres
))
{
const
PRUnichar
*
background
;
nsAString_GetData
(
&
background_str
,
&
background
,
NULL
);
*
p
=
SysAllocString
(
background
);
}
else
{
ERR
(
"GetBackground failed: %08x
\n
"
,
nsres
);
*
p
=
NULL
;
}
nsAString_Finish
(
&
background_str
);
TRACE
(
"*p = %s
\n
"
,
debugstr_w
(
*
p
));
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLBodyElement_put_bgProperties
(
IHTMLBodyElement
*
iface
,
BSTR
v
)
...
...
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