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
4edfeefa
Commit
4edfeefa
authored
Jun 28, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Use proper pointer types for IPersistStreamInit methods.
parent
6a07cfeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
28 deletions
+26
-28
domdoc.c
dlls/msxml3/domdoc.c
+26
-28
No files found.
dlls/msxml3/domdoc.c
View file @
4edfeefa
...
...
@@ -317,30 +317,30 @@ static inline domdoc *impl_from_ISupportErrorInfo(ISupportErrorInfo *iface)
}
/************************************************************************
*
xml
doc implementation of IPersistStream.
*
dom
doc implementation of IPersistStream.
*/
static
HRESULT
WINAPI
xml
doc_IPersistStreamInit_QueryInterface
(
IPersistStreamInit
*
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
)
static
HRESULT
WINAPI
dom
doc_IPersistStreamInit_QueryInterface
(
IPersistStreamInit
*
iface
,
REFIID
riid
,
void
*
*
ppvObj
)
{
domdoc
*
this
=
impl_from_IPersistStreamInit
(
iface
);
return
IXMLD
ocument_QueryInterface
((
IXMLDocument
*
)
this
,
riid
,
ppvObj
);
return
IXMLD
OMDocument2_QueryInterface
((
IXMLDOMDocument2
*
)
this
,
riid
,
ppvObj
);
}
static
ULONG
WINAPI
xml
doc_IPersistStreamInit_AddRef
(
static
ULONG
WINAPI
dom
doc_IPersistStreamInit_AddRef
(
IPersistStreamInit
*
iface
)
{
domdoc
*
this
=
impl_from_IPersistStreamInit
(
iface
);
return
IXMLD
ocument_AddRef
((
IXMLDocument
*
)
this
);
return
IXMLD
OMDocument2_AddRef
((
IXMLDOMDocument2
*
)
this
);
}
static
ULONG
WINAPI
xml
doc_IPersistStreamInit_Release
(
static
ULONG
WINAPI
dom
doc_IPersistStreamInit_Release
(
IPersistStreamInit
*
iface
)
{
domdoc
*
this
=
impl_from_IPersistStreamInit
(
iface
);
return
IXMLD
ocument_Release
((
IXMLDocument
*
)
this
);
return
IXMLD
OMDocument2_Release
((
IXMLDOMDocument2
*
)
this
);
}
static
HRESULT
WINAPI
xml
doc_IPersistStreamInit_GetClassID
(
static
HRESULT
WINAPI
dom
doc_IPersistStreamInit_GetClassID
(
IPersistStreamInit
*
iface
,
CLSID
*
classid
)
{
TRACE
(
"(%p,%p): stub!
\n
"
,
iface
,
classid
);
...
...
@@ -353,17 +353,15 @@ static HRESULT WINAPI xmldoc_IPersistStreamInit_GetClassID(
return
S_OK
;
}
static
HRESULT
WINAPI
xml
doc_IPersistStreamInit_IsDirty
(
static
HRESULT
WINAPI
dom
doc_IPersistStreamInit_IsDirty
(
IPersistStreamInit
*
iface
)
{
domdoc
*
This
=
impl_from_IPersistStreamInit
(
iface
);
FIXME
(
"(%p): stub!
\n
"
,
This
);
return
S_FALSE
;
}
static
HRESULT
WINAPI
xml
doc_IPersistStreamInit_Load
(
static
HRESULT
WINAPI
dom
doc_IPersistStreamInit_Load
(
IPersistStreamInit
*
iface
,
LPSTREAM
pStm
)
{
domdoc
*
This
=
impl_from_IPersistStreamInit
(
iface
);
...
...
@@ -416,7 +414,7 @@ static HRESULT WINAPI xmldoc_IPersistStreamInit_Load(
return
attach_xmldoc
(
&
This
->
node
,
xmldoc
);
}
static
HRESULT
WINAPI
xml
doc_IPersistStreamInit_Save
(
static
HRESULT
WINAPI
dom
doc_IPersistStreamInit_Save
(
IPersistStreamInit
*
iface
,
LPSTREAM
pStm
,
BOOL
fClearDirty
)
{
domdoc
*
This
=
impl_from_IPersistStreamInit
(
iface
);
...
...
@@ -441,7 +439,7 @@ static HRESULT WINAPI xmldoc_IPersistStreamInit_Save(
return
hr
;
}
static
HRESULT
WINAPI
xml
doc_IPersistStreamInit_GetSizeMax
(
static
HRESULT
WINAPI
dom
doc_IPersistStreamInit_GetSizeMax
(
IPersistStreamInit
*
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
domdoc
*
This
=
impl_from_IPersistStreamInit
(
iface
);
...
...
@@ -449,7 +447,7 @@ static HRESULT WINAPI xmldoc_IPersistStreamInit_GetSizeMax(
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
xml
doc_IPersistStreamInit_InitNew
(
static
HRESULT
WINAPI
dom
doc_IPersistStreamInit_InitNew
(
IPersistStreamInit
*
iface
)
{
domdoc
*
This
=
impl_from_IPersistStreamInit
(
iface
);
...
...
@@ -459,15 +457,15 @@ static HRESULT WINAPI xmldoc_IPersistStreamInit_InitNew(
static
const
IPersistStreamInitVtbl
xmldoc_IPersistStreamInit_VTable
=
{
xml
doc_IPersistStreamInit_QueryInterface
,
xml
doc_IPersistStreamInit_AddRef
,
xml
doc_IPersistStreamInit_Release
,
xml
doc_IPersistStreamInit_GetClassID
,
xml
doc_IPersistStreamInit_IsDirty
,
xml
doc_IPersistStreamInit_Load
,
xml
doc_IPersistStreamInit_Save
,
xml
doc_IPersistStreamInit_GetSizeMax
,
xml
doc_IPersistStreamInit_InitNew
dom
doc_IPersistStreamInit_QueryInterface
,
dom
doc_IPersistStreamInit_AddRef
,
dom
doc_IPersistStreamInit_Release
,
dom
doc_IPersistStreamInit_GetClassID
,
dom
doc_IPersistStreamInit_IsDirty
,
dom
doc_IPersistStreamInit_Load
,
dom
doc_IPersistStreamInit_Save
,
dom
doc_IPersistStreamInit_GetSizeMax
,
dom
doc_IPersistStreamInit_InitNew
};
/* ISupportErrorInfo interface */
...
...
@@ -476,21 +474,21 @@ static HRESULT WINAPI support_error_QueryInterface(
REFIID
riid
,
void
**
ppvObj
)
{
domdoc
*
This
=
impl_from_ISupportErrorInfo
(
iface
);
return
IXMLD
ocument_QueryInterface
((
IXMLDocument
*
)
This
,
riid
,
ppvObj
);
return
IXMLD
OMDocument2_QueryInterface
((
IXMLDOMDocument2
*
)
This
,
riid
,
ppvObj
);
}
static
ULONG
WINAPI
support_error_AddRef
(
ISupportErrorInfo
*
iface
)
{
domdoc
*
This
=
impl_from_ISupportErrorInfo
(
iface
);
return
IXMLD
ocument_AddRef
((
IXMLDocument
*
)
This
);
return
IXMLD
OMDocument2_AddRef
((
IXMLDOMDocument2
*
)
This
);
}
static
ULONG
WINAPI
support_error_Release
(
ISupportErrorInfo
*
iface
)
{
domdoc
*
This
=
impl_from_ISupportErrorInfo
(
iface
);
return
IXMLD
ocument_Release
((
IXMLDocument
*
)
This
);
return
IXMLD
OMDocument2_Release
((
IXMLDOMDocument2
*
)
This
);
}
static
HRESULT
WINAPI
support_error_InterfaceSupportsErrorInfo
(
...
...
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