[PATCH 2/2] windowscodecs: Add support for IMILBitmapScaler interface.

Dmitry Timoshkov dmitry at baikal.ru
Tue May 14 08:10:17 CDT 2019


"Vincent Povirk (they/them)" <vincent at codeweavers.com> wrote:

> On Tue, May 14, 2019 at 7:48 AM Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> >
> > "Vincent Povirk (they/them)" <vincent at codeweavers.com> wrote:
> >
> > > The rule, as I understand it, is that all interfaces should return the
> > > same pointer when queried for IUnknown. It doesn't have to be
> > > discoverable by any other IID.
> > >
> > > I'm not sure if that applies to interfaces generally or just IUnknown.
> > > Mono's COM code (and probably .NET's as well) relies on it for
> > > IUnknown.
> >
> > The code for IMILBitmapScaler_QueryInterface() follows exisiting code
> > for instance of IWICBitmap_QueryInterface(), do I miss something?
> 
> It looks to me like BitmapScaler_QueryInterface for IUnknown will
> return &IWICBitmapScaler_iface, and IMILBitmapScaler_QueryInterface
> for IUnknown will return &IMILBitmapScaler_iface.

Do you mean that they are supposed to return the same interface?

-- 
Dmitry.



More information about the wine-devel mailing list