Alexandre Julliard julliard@winehq.org wrote:
- stat = GdipGetLogFontW((GpFont *)font, graphics, &lfw);
- if (stat != Ok) return stat;
I'm not sure it's an improvement, since you need to add these ugly casts. You should find a way that doesn't require that.
I don't see a way to avoid that, gdiplus APIs are broken in that regard.