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
37ce9497
Commit
37ce9497
authored
Feb 28, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Always set out pointer to null on failed QueryInterface.
parent
a4cc8bc6
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
18 additions
and
13 deletions
+18
-13
attribute.c
dlls/msxml3/attribute.c
+1
-0
bsc.c
dlls/msxml3/bsc.c
+1
-0
cdata.c
dlls/msxml3/cdata.c
+1
-6
comment.c
dlls/msxml3/comment.c
+1
-0
docfrag.c
dlls/msxml3/docfrag.c
+1
-0
doctype.c
dlls/msxml3/doctype.c
+1
-0
domimpl.c
dlls/msxml3/domimpl.c
+1
-0
element.c
dlls/msxml3/element.c
+1
-0
entityref.c
dlls/msxml3/entityref.c
+1
-0
factory.c
dlls/msxml3/factory.c
+1
-0
nodemap.c
dlls/msxml3/nodemap.c
+1
-0
parseerror.c
dlls/msxml3/parseerror.c
+1
-0
pi.c
dlls/msxml3/pi.c
+1
-0
schema.c
dlls/msxml3/schema.c
+1
-0
stylesheet.c
dlls/msxml3/stylesheet.c
+1
-0
text.c
dlls/msxml3/text.c
+1
-7
xmldoc.c
dlls/msxml3/xmldoc.c
+1
-0
xmlelem.c
dlls/msxml3/xmlelem.c
+1
-0
No files found.
dlls/msxml3/attribute.c
View file @
37ce9497
...
@@ -77,6 +77,7 @@ static HRESULT WINAPI domattr_QueryInterface(
...
@@ -77,6 +77,7 @@ static HRESULT WINAPI domattr_QueryInterface(
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/bsc.c
View file @
37ce9497
...
@@ -74,6 +74,7 @@ static HRESULT WINAPI bsc_QueryInterface(
...
@@ -74,6 +74,7 @@ static HRESULT WINAPI bsc_QueryInterface(
}
}
TRACE
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
TRACE
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppobj
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/cdata.c
View file @
37ce9497
...
@@ -70,12 +70,6 @@ static HRESULT WINAPI domcdata_QueryInterface(
...
@@ -70,12 +70,6 @@ static HRESULT WINAPI domcdata_QueryInterface(
{
{
*
ppvObject
=
iface
;
*
ppvObject
=
iface
;
}
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IXMLDOMText
)
||
IsEqualGUID
(
riid
,
&
IID_IXMLDOMElement
)
)
{
TRACE
(
"Unsupported interface
\n
"
);
return
E_NOINTERFACE
;
}
else
if
(
node_query_interface
(
&
This
->
node
,
riid
,
ppvObject
))
else
if
(
node_query_interface
(
&
This
->
node
,
riid
,
ppvObject
))
{
{
return
*
ppvObject
?
S_OK
:
E_NOINTERFACE
;
return
*
ppvObject
?
S_OK
:
E_NOINTERFACE
;
...
@@ -83,6 +77,7 @@ static HRESULT WINAPI domcdata_QueryInterface(
...
@@ -83,6 +77,7 @@ static HRESULT WINAPI domcdata_QueryInterface(
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/comment.c
View file @
37ce9497
...
@@ -77,6 +77,7 @@ static HRESULT WINAPI domcomment_QueryInterface(
...
@@ -77,6 +77,7 @@ static HRESULT WINAPI domcomment_QueryInterface(
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/docfrag.c
View file @
37ce9497
...
@@ -76,6 +76,7 @@ static HRESULT WINAPI domfrag_QueryInterface(
...
@@ -76,6 +76,7 @@ static HRESULT WINAPI domfrag_QueryInterface(
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/doctype.c
View file @
37ce9497
...
@@ -78,6 +78,7 @@ static HRESULT WINAPI domdoctype_QueryInterface(
...
@@ -78,6 +78,7 @@ static HRESULT WINAPI domdoctype_QueryInterface(
else
else
{
{
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/domimpl.c
View file @
37ce9497
...
@@ -70,6 +70,7 @@ static HRESULT WINAPI dimimpl_QueryInterface(
...
@@ -70,6 +70,7 @@ static HRESULT WINAPI dimimpl_QueryInterface(
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/element.c
View file @
37ce9497
...
@@ -86,6 +86,7 @@ static HRESULT WINAPI domelem_QueryInterface(
...
@@ -86,6 +86,7 @@ static HRESULT WINAPI domelem_QueryInterface(
else
else
{
{
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/entityref.c
View file @
37ce9497
...
@@ -76,6 +76,7 @@ static HRESULT WINAPI entityref_QueryInterface(
...
@@ -76,6 +76,7 @@ static HRESULT WINAPI entityref_QueryInterface(
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/factory.c
View file @
37ce9497
...
@@ -80,6 +80,7 @@ static HRESULT WINAPI ClassFactory_QueryInterface(
...
@@ -80,6 +80,7 @@ static HRESULT WINAPI ClassFactory_QueryInterface(
}
}
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppobj
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/nodemap.c
View file @
37ce9497
...
@@ -82,6 +82,7 @@ static HRESULT WINAPI xmlnodemap_QueryInterface(
...
@@ -82,6 +82,7 @@ static HRESULT WINAPI xmlnodemap_QueryInterface(
else
else
{
{
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/parseerror.c
View file @
37ce9497
...
@@ -71,6 +71,7 @@ static HRESULT WINAPI parseError_QueryInterface(
...
@@ -71,6 +71,7 @@ static HRESULT WINAPI parseError_QueryInterface(
else
else
{
{
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/pi.c
View file @
37ce9497
...
@@ -76,6 +76,7 @@ static HRESULT WINAPI dom_pi_QueryInterface(
...
@@ -76,6 +76,7 @@ static HRESULT WINAPI dom_pi_QueryInterface(
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/schema.c
View file @
37ce9497
...
@@ -948,6 +948,7 @@ static HRESULT WINAPI schema_cache_QueryInterface(IXMLDOMSchemaCollection2* ifac
...
@@ -948,6 +948,7 @@ static HRESULT WINAPI schema_cache_QueryInterface(IXMLDOMSchemaCollection2* ifac
else
else
{
{
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/stylesheet.c
View file @
37ce9497
...
@@ -96,6 +96,7 @@ static HRESULT WINAPI xsltemplate_QueryInterface(
...
@@ -96,6 +96,7 @@ static HRESULT WINAPI xsltemplate_QueryInterface(
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/text.c
View file @
37ce9497
...
@@ -75,16 +75,10 @@ static HRESULT WINAPI domtext_QueryInterface(
...
@@ -75,16 +75,10 @@ static HRESULT WINAPI domtext_QueryInterface(
{
{
return
*
ppvObject
?
S_OK
:
E_NOINTERFACE
;
return
*
ppvObject
?
S_OK
:
E_NOINTERFACE
;
}
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IXMLDOMElement
)
||
IsEqualGUID
(
riid
,
&
IID_IXMLDOMCDATASection
)
)
{
/* IXMLDOMText is known to be correct in not implementing these */
TRACE
(
"Unsupported interface
\n
"
);
return
E_NOINTERFACE
;
}
else
else
{
{
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported interface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/xmldoc.c
View file @
37ce9497
...
@@ -95,6 +95,7 @@ static HRESULT WINAPI xmldoc_QueryInterface(IXMLDocument *iface, REFIID riid, vo
...
@@ -95,6 +95,7 @@ static HRESULT WINAPI xmldoc_QueryInterface(IXMLDocument *iface, REFIID riid, vo
else
else
{
{
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/xmlelem.c
View file @
37ce9497
...
@@ -75,6 +75,7 @@ static HRESULT WINAPI xmlelem_QueryInterface(IXMLElement *iface, REFIID riid, vo
...
@@ -75,6 +75,7 @@ static HRESULT WINAPI xmlelem_QueryInterface(IXMLElement *iface, REFIID riid, vo
else
else
{
{
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
*
ppvObject
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
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