mshtml: Updated test of QueryInterface.
This commit is contained in:
parent
6ea2e4bc21
commit
2afc8fcd5a
|
@ -3766,6 +3766,11 @@ static void test_QueryInterface(IUnknown *unk)
|
|||
hres = IUnknown_QueryInterface(unk, &IID_UndocumentedScriptIface, (void**)&qi);
|
||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||
ok(qi == NULL, "qi=%p, expected NULL\n", qi);
|
||||
|
||||
qi = (void*)0xdeadbeef;
|
||||
hres = IUnknown_QueryInterface(unk, &IID_IMarshal, (void**)&qi);
|
||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||
ok(qi == NULL, "qi=%p, expected NULL\n", qi);
|
||||
}
|
||||
|
||||
static void init_test(enum load_state_t ls) {
|
||||
|
|
Loading…
Reference in New Issue