[PATCH 1/3] windowscodecs: Implement IWICBitmapFrameEncode::SetPalette in PNG encoder.

Dmitry Timoshkov dmitry at baikal.ru
Fri Jan 27 00:05:11 CST 2017


Nikolay Sivov <nsivov at codeweavers.com> wrote:

> From: Dmitry Timoshkov <dmitry at baikal.ru>
...
> diff --git a/dlls/windowscodecs/tests/converter.c b/dlls/windowscodecs/tests/converter.c
> index 2af985785c..9da82f1665 100644
> --- a/dlls/windowscodecs/tests/converter.c
> +++ b/dlls/windowscodecs/tests/converter.c
> @@ -25,6 +25,7 @@
>  #include "windef.h"
>  #include "objbase.h"
>  #include "wincodec.h"
> +#include "wincodecsdk.h"
>  #include "wine/test.h"
>  
>  typedef struct bitmap_data {
> @@ -577,6 +578,50 @@ struct setting {
>      void *value;
>  };
>  
> +#define EXPECT_REF(obj,ref) _expect_ref((IUnknown*)obj, ref, __LINE__)
> +static void _expect_ref(IUnknown* obj, ULONG ref, int line)

I'd prefer to avoid getting a credit for the code I never had written.

-- 
Dmitry.



More information about the wine-devel mailing list