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
7c34694c
Commit
7c34694c
authored
Nov 16, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Nov 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement createProcessingInstruction with a stub PI object.
parent
2b01f6e0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
Makefile.in
dlls/msxml3/Makefile.in
+1
-0
domdoc.c
dlls/msxml3/domdoc.c
+17
-2
msxml_private.h
dlls/msxml3/msxml_private.h
+1
-0
pi.c
dlls/msxml3/pi.c
+0
-0
No files found.
dlls/msxml3/Makefile.in
View file @
7c34694c
...
...
@@ -19,6 +19,7 @@ C_SRCS = \
nodelist.c
\
nodemap.c
\
parseerror.c
\
pi.c
\
regsvr.c
\
text.c
\
uuid.c
...
...
dlls/msxml3/domdoc.c
View file @
7c34694c
...
...
@@ -744,8 +744,23 @@ static HRESULT WINAPI domdoc_createProcessingInstruction(
BSTR
data
,
IXMLDOMProcessingInstruction
**
pi
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
xmlNodePtr
xmlnode
;
domdoc
*
This
=
impl_from_IXMLDOMDocument
(
iface
);
xmlChar
*
xml_target
,
*
xml_content
;
TRACE
(
"%p->(%s %s %p)
\n
"
,
iface
,
debugstr_w
(
target
),
debugstr_w
(
data
),
pi
);
xml_target
=
xmlChar_from_wchar
((
WCHAR
*
)
target
);
xml_content
=
xmlChar_from_wchar
((
WCHAR
*
)
data
);
xmlnode
=
xmlNewDocPI
(
get_doc
(
This
),
xml_target
,
xml_content
);
TRACE
(
"created xmlptr %p
\n
"
,
xmlnode
);
*
pi
=
(
IXMLDOMProcessingInstruction
*
)
create_pi
(
xmlnode
);
HeapFree
(
GetProcessHeap
(),
0
,
xml_content
);
HeapFree
(
GetProcessHeap
(),
0
,
xml_target
);
return
S_OK
;
}
...
...
dlls/msxml3/msxml_private.h
View file @
7c34694c
...
...
@@ -35,6 +35,7 @@ extern IUnknown *create_basic_node( xmlNodePtr node, IUnknown *pUnkOuter
extern
IUnknown
*
create_element
(
xmlNodePtr
element
,
IUnknown
*
pUnkOuter
);
extern
IUnknown
*
create_attribute
(
xmlNodePtr
attribute
);
extern
IUnknown
*
create_text
(
xmlNodePtr
text
);
extern
IUnknown
*
create_pi
(
xmlNodePtr
pi
);
extern
IUnknown
*
create_comment
(
xmlNodePtr
comment
);
extern
IXMLDOMNodeList
*
create_nodelist
(
xmlNodePtr
node
);
extern
IXMLDOMNamedNodeMap
*
create_nodemap
(
IXMLDOMNode
*
node
);
...
...
dlls/msxml3/pi.c
0 → 100644
View file @
7c34694c
This diff is collapsed.
Click to expand it.
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