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
d77acecb
Commit
d77acecb
authored
Jan 22, 2009
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jan 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement IXMLDOMDocument2 IPersistStream_Save.
parent
5bedc409
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
domdoc.c
dlls/msxml3/domdoc.c
+20
-2
No files found.
dlls/msxml3/domdoc.c
View file @
d77acecb
...
...
@@ -357,8 +357,26 @@ static HRESULT WINAPI xmldoc_IPersistStream_Load(
static
HRESULT
WINAPI
xmldoc_IPersistStream_Save
(
IPersistStream
*
iface
,
LPSTREAM
pStm
,
BOOL
fClearDirty
)
{
FIXME
(
"(%p, %p, %d): stub!
\n
"
,
iface
,
pStm
,
fClearDirty
);
return
E_NOTIMPL
;
domdoc
*
This
=
impl_from_IPersistStream
(
iface
);
HRESULT
hr
;
BSTR
xmlString
;
TRACE
(
"(%p, %p, %d)
\n
"
,
iface
,
pStm
,
fClearDirty
);
hr
=
IXMLDOMNode_get_xml
(
This
->
node
,
&
xmlString
);
if
(
hr
==
S_OK
)
{
DWORD
count
;
DWORD
len
=
strlenW
(
xmlString
)
*
sizeof
(
WCHAR
);
hr
=
IStream_Write
(
pStm
,
xmlString
,
len
,
&
count
);
SysFreeString
(
xmlString
);
}
TRACE
(
"ret 0x%08x
\n
"
,
hr
);
return
hr
;
}
static
HRESULT
WINAPI
xmldoc_IPersistStream_GetSizeMax
(
...
...
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