shdocvw: Silence common invalid QueryInterface FIXMEs.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sun Nov 25 15:27:44 CST 2007


>     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 






More information about the wine-devel mailing list