msxml3: IXMLDOMElement doesn't support IObjectIdentity.
This commit is contained in:
parent
a1ab2df19a
commit
e00425e6c4
@ -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 )
|
|||||||
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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user