On Fri, Jan 14, 2022 at 6:31 PM Nikolay Sivov <nsi...@codeweavers.com> wrote:
> >
> > on the contrary, CreateBitmap(), DrawBitmap(), BeginDraw(), EndDraw()
> > or SetTransform() are working with the C API.
> >
> > Does someone have an idea of the problem. I have a test program if you want
>
> It's a known thing, C-compatible prototypes would be different for such
> methods:
>
> D2D1_SIZE_U * ID3D1HwndRenderTarget_GetPixelSize(void *this, D2D1_SIZE_U
> *size).

but then I have a compilation error because in d2d1.h provided by
mingw-w64, GetPixelSize() has only 1 argument, not 2.

> You could check hows it's done in Wine, where we don't use C++.

do you have a link, please ?

thank you

Vincent


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to