hres = IUnknown_QueryInterface(unk, &IID_IRunnableObject,
(void**)&runnable); ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres); ok(runnable == NULL, "runnable=%p, ezpected NULL\n", runnable);
- hres = IUnknown_QueryInterface(unk, &IID_IPerPropertyBrowsing,
(void**)&propbrowse);
- ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected
E_NOINTERFACE\n", hres);
- ok(runnable == NULL, "runnable=%p, ezpected NULL\n", runnable);
- hres = IUnknown_QueryInterface(unk, &IID_IOleCache, (void**)&cache);
- ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected
E_NOINTERFACE\n", hres);
- ok(cache == NULL, "runnable=%p, ezpected NULL\n", runnable);
}
Hi Jacek, The tests seem wrong. Is there a reson your printing runnable twice, and not propbrowse and cache.
Best Regards Alistair Leslie-Hughes