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
04305134
Commit
04305134
authored
Oct 30, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Return S_FALSE in getNamedItem() of PI node.
parent
0726542d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
pi.c
dlls/msxml3/pi.c
+3
-1
domdoc.c
dlls/msxml3/tests/domdoc.c
+5
-0
No files found.
dlls/msxml3/pi.c
View file @
04305134
...
...
@@ -685,7 +685,9 @@ static HRESULT dom_pi_get_qualified_item(const xmlNodePtr node, BSTR name, BSTR
static
HRESULT
dom_pi_get_named_item
(
const
xmlNodePtr
node
,
BSTR
name
,
IXMLDOMNode
**
item
)
{
FIXME
(
"(%p)->(%s %p): stub
\n
"
,
node
,
debugstr_w
(
name
),
item
);
return
E_NOTIMPL
;
if
(
item
)
*
item
=
NULL
;
return
S_FALSE
;
}
static
HRESULT
dom_pi_set_named_item
(
xmlNodePtr
node
,
IXMLDOMNode
*
newItem
,
IXMLDOMNode
**
namedItem
)
...
...
dlls/msxml3/tests/domdoc.c
View file @
04305134
...
...
@@ -9152,6 +9152,11 @@ static void test_get_attributes(void)
hr
=
IXMLDOMNode_get_attributes
(
node
,
&
map
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
node2
=
(
void
*
)
0xdeadbeef
;
hr
=
IXMLDOMNamedNodeMap_getNamedItem
(
map
,
_bstr_
(
"attr"
),
&
node2
);
ok
(
hr
==
S_FALSE
,
"got %08x
\n
"
,
hr
);
ok
(
node2
==
NULL
,
"got %p
\n
"
,
node2
);
length
=
-
1
;
hr
=
IXMLDOMNamedNodeMap_get_length
(
map
,
&
length
);
EXPECT_HR
(
hr
,
S_OK
);
...
...
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