msxml3: IXMLDOMElement doesn't support IObjectIdentity.

This commit is contained in:
Alistair Leslie-Hughes 2009-08-12 20:47:26 +10:00 committed by Alexandre Julliard
parent a1ab2df19a
commit e00425e6c4
2 changed files with 7 additions and 0 deletions

View File

@ -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;
}

View File

@ -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");