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

Vincent Povirk (they/them) vincent at codeweavers.com
Tue May 14 08:05:40 CDT 2019


It looks to me like BitmapScaler_QueryInterface for IUnknown will
return &IWICBitmapScaler_iface, and IMILBitmapScaler_QueryInterface
for IUnknown will return &IMILBitmapScaler_iface.

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?
>
> --
> Dmitry.



More information about the wine-devel mailing list