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
9d058e91
Commit
9d058e91
authored
Oct 20, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLElement::get_className implementation.
parent
637310be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
htmlelem.c
dlls/mshtml/htmlelem.c
+22
-2
No files found.
dlls/mshtml/htmlelem.c
View file @
9d058e91
...
...
@@ -188,8 +188,28 @@ static HRESULT WINAPI HTMLElement_put_className(IHTMLElement *iface, BSTR v)
static
HRESULT
WINAPI
HTMLElement_get_className
(
IHTMLElement
*
iface
,
BSTR
*
p
)
{
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString
class_str
;
nsresult
nsres
;
HRESULT
hres
=
S_OK
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_Init
(
&
class_str
,
NULL
);
nsres
=
nsIDOMHTMLElement_GetClassName
(
This
->
nselem
,
&
class_str
);
if
(
NS_SUCCEEDED
(
nsres
))
{
const
PRUnichar
*
class
;
nsAString_GetData
(
&
class_str
,
&
class
,
NULL
);
*
p
=
SysAllocString
(
class
);
}
else
{
ERR
(
"GetClassName failed: %08x
\n
"
,
nsres
);
hres
=
E_FAIL
;
}
nsAString_Finish
(
&
class_str
);
TRACE
(
"className=%s
\n
"
,
debugstr_w
(
*
p
));
return
hres
;
}
static
HRESULT
WINAPI
HTMLElement_put_id
(
IHTMLElement
*
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