On Fri, 29 Apr 2022 at 12:10, Ziqing Hui zhui@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.