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
701991ca
Commit
701991ca
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 IXMLDOMProcessingInstruction target.
parent
0d2f7322
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
pi.c
dlls/msxml3/pi.c
+3
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+12
-0
No files found.
dlls/msxml3/pi.c
View file @
701991ca
...
...
@@ -433,8 +433,9 @@ static HRESULT WINAPI dom_pi_get_target(
IXMLDOMProcessingInstruction
*
iface
,
BSTR
*
p
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
/* target returns the same value as nodeName property */
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_get_nodeName
(
This
->
node
,
p
);
}
static
HRESULT
WINAPI
dom_pi_get_data
(
...
...
dlls/msxml3/tests/domdoc.c
View file @
701991ca
...
...
@@ -618,6 +618,18 @@ static void test_domdoc( void )
ok
(
V_VT
(
&
var
)
==
VT_NULL
,
"incorrect dataType type
\n
"
);
VariantClear
(
&
var
);
/* test nodeName */
r
=
IXMLDOMProcessingInstruction_get_nodeName
(
nodePI
,
&
str
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
!
lstrcmpW
(
str
,
_bstr_
(
"xml"
)
),
"incorrect nodeName string
\n
"
);
SysFreeString
(
str
);
/* test Target */
r
=
IXMLDOMProcessingInstruction_get_target
(
nodePI
,
&
str
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
!
lstrcmpW
(
str
,
_bstr_
(
"xml"
)
),
"incorrect target string
\n
"
);
SysFreeString
(
str
);
/* test nodeTypeString */
r
=
IXMLDOMProcessingInstruction_get_nodeTypeString
(
nodePI
,
&
str
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
...
...
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