Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
28cf008c
Commit
28cf008c
authored
Feb 24, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLBodyElement::aLink implementation.
parent
a81fb4ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
4 deletions
+28
-4
htmlbody.c
dlls/mshtml/htmlbody.c
+28
-4
No files found.
dlls/mshtml/htmlbody.c
View file @
28cf008c
...
...
@@ -369,15 +369,39 @@ static HRESULT WINAPI HTMLBodyElement_get_vLink(IHTMLBodyElement *iface, VARIANT
static
HRESULT
WINAPI
HTMLBodyElement_put_aLink
(
IHTMLBodyElement
*
iface
,
VARIANT
v
)
{
HTMLBodyElement
*
This
=
HTMLBODY_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
nsAString
alink_str
;
nsresult
nsres
;
TRACE
(
"(%p)->(v%d)
\n
"
,
This
,
V_VT
(
&
v
));
if
(
!
variant_to_nscolor
(
&
v
,
&
alink_str
))
return
S_OK
;
nsres
=
nsIDOMHTMLBodyElement_SetALink
(
This
->
nsbody
,
&
alink_str
);
nsAString_Finish
(
&
alink_str
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"SetALink failed: %08x
\n
"
,
nsres
);
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLBodyElement_get_aLink
(
IHTMLBodyElement
*
iface
,
VARIANT
*
p
)
{
HTMLBodyElement
*
This
=
HTMLBODY_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString
alink_str
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_Init
(
&
alink_str
,
NULL
);
nsres
=
nsIDOMHTMLBodyElement_GetALink
(
This
->
nsbody
,
&
alink_str
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"GetALink failed: %08x
\n
"
,
nsres
);
nscolor_to_variant
(
&
alink_str
,
p
);
nsAString_Finish
(
&
alink_str
);
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLBodyElement_put_onload
(
IHTMLBodyElement
*
iface
,
VARIANT
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