Alistair Leslie-Hughes : msxml3: IXMLDOMElement doesn' t support IObjectIdentity.
Alexandre Julliard
julliard at winehq.org
Fri Aug 14 09:00:44 CDT 2009
Module: wine
Branch: master
Commit: e00425e6c44633e023a30f40bf6e611770dff34c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e00425e6c44633e023a30f40bf6e611770dff34c
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed Aug 12 20:47:26 2009 +1000
msxml3: IXMLDOMElement doesn't support IObjectIdentity.
---
dlls/msxml3/dispex.c | 3 +++
dlls/msxml3/tests/domdoc.c | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c
index ab9d909..59d8878 100644
--- a/dlls/msxml3/dispex.c
+++ b/dlls/msxml3/dispex.c
@@ -634,6 +634,9 @@ BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
}else if(IsEqualGUID(&IID_UndocumentedScriptIface, riid)) {
TRACE("(%p)->(IID_UndocumentedScriptIface %p) returning NULL\n", This, ppv);
*ppv = NULL;
+ }else if (IsEqualGUID(&IID_IObjectIdentity, riid)) {
+ TRACE("IID_IObjectIdentity not supported returning NULL\n");
+ *ppv = NULL;
}else {
return FALSE;
}
diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 18b9576..0eddb38 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -514,8 +514,12 @@ static void test_domdoc( void )
ok( r == S_OK, "should be a document element\n");
if( element )
{
+ IObjectIdentity *ident;
BSTR tag = NULL;
+ r = IXMLDOMElement_QueryInterface( element, &IID_IObjectIdentity, (LPVOID*)&ident );
+ ok( r == E_NOINTERFACE, "ret %08x\n", r);
+
/* check if the tag is correct */
r = IXMLDOMElement_get_tagName( element, &tag );
ok( r == S_OK, "couldn't get tag name\n");
More information about the wine-cvs
mailing list