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
e9063b77
Commit
e9063b77
authored
Feb 16, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement IXMLDOMAttribute name property.
parent
701991ca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
attribute.c
dlls/msxml3/attribute.c
+3
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+12
-0
No files found.
dlls/msxml3/attribute.c
View file @
e9063b77
...
...
@@ -433,8 +433,9 @@ static HRESULT WINAPI domattr_get_name(
IXMLDOMAttribute
*
iface
,
BSTR
*
p
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
/* name property returns the same value as nodeName */
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_get_nodeName
(
This
->
node
,
p
);
}
static
HRESULT
WINAPI
domattr_get_value
(
...
...
dlls/msxml3/tests/domdoc.c
View file @
e9063b77
...
...
@@ -2128,6 +2128,18 @@ static void test_xmlTypes(void)
ok
(
!
lstrcmpW
(
str
,
_bstr_
(
"attribute"
)
),
"incorrect nodeTypeString string
\n
"
);
SysFreeString
(
str
);
/* test nodeName */
hr
=
IXMLDOMAttribute_get_nodeName
(
pAttrubute
,
&
str
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
!
lstrcmpW
(
str
,
szAttribute
),
"incorrect nodeName string
\n
"
);
SysFreeString
(
str
);
/* test name property */
hr
=
IXMLDOMAttribute_get_name
(
pAttrubute
,
&
str
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
!
lstrcmpW
(
str
,
szAttribute
),
"incorrect name string
\n
"
);
SysFreeString
(
str
);
hr
=
IXMLDOMAttribute_get_xml
(
pAttrubute
,
&
str
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
!
lstrcmpW
(
str
,
szAttributeXML
),
"incorrect attribute xml
\n
"
);
...
...
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