Commit e00425e6 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msxml3: IXMLDOMElement doesn't support IObjectIdentity.

parent a1ab2df1
...@@ -634,6 +634,9 @@ BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv) ...@@ -634,6 +634,9 @@ BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
}else if(IsEqualGUID(&IID_UndocumentedScriptIface, riid)) { }else if(IsEqualGUID(&IID_UndocumentedScriptIface, riid)) {
TRACE("(%p)->(IID_UndocumentedScriptIface %p) returning NULL\n", This, ppv); TRACE("(%p)->(IID_UndocumentedScriptIface %p) returning NULL\n", This, ppv);
*ppv = NULL; *ppv = NULL;
}else if (IsEqualGUID(&IID_IObjectIdentity, riid)) {
TRACE("IID_IObjectIdentity not supported returning NULL\n");
*ppv = NULL;
}else { }else {
return FALSE; return FALSE;
} }
......
...@@ -514,8 +514,12 @@ static void test_domdoc( void ) ...@@ -514,8 +514,12 @@ static void test_domdoc( void )
ok( r == S_OK, "should be a document element\n"); ok( r == S_OK, "should be a document element\n");
if( element ) if( element )
{ {
IObjectIdentity *ident;
BSTR tag = NULL; 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 */ /* check if the tag is correct */
r = IXMLDOMElement_get_tagName( element, &tag ); r = IXMLDOMElement_get_tagName( element, &tag );
ok( r == S_OK, "couldn't get tag name\n"); ok( r == S_OK, "couldn't get tag name\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment