[PATCH v3 2/3] d2d1: Implement ID2D1EffectContext_GetDpi().

Henri Verbeet hverbeet at gmail.com
Mon May 2 08:52:54 CDT 2022


On Fri, 29 Apr 2022 at 12:10, Ziqing Hui <zhui at codeweavers.com> wrote:
>  static void STDMETHODCALLTYPE d2d_effect_context_GetDpi(ID2D1EffectContext *iface, float *dpi_x, float *dpi_y)
>  {
> -    FIXME("iface %p, dpi_x %p, dpi_y %p stub!\n", iface, dpi_x, dpi_y);
> +    struct d2d_effect_context *effect_context = impl_from_ID2D1EffectContext(iface);
> +
> +    TRACE("iface %p, dpi_x %p, dpi_y %p.\n", iface, dpi_x, dpi_y);
> +
> +    return ID2D1DeviceContext_GetDpi(&effect_context->device_context->ID2D1DeviceContext_iface, dpi_x, dpi_y);
>  }

Returning void values is best avoided.



More information about the wine-devel mailing list