[PATCH 1/5] widl: Handle aggregate returns in a MSVC compatible way.

Piotr Caban piotr.caban at gmail.com
Fri Sep 5 09:03:27 CDT 2014


On 09/05/14 15:50, Henri Verbeet wrote:
> -static D2D1_COLOR_F STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface)
> +static void STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface, D2D1_COLOR_F *color)
>   {
>       static const D2D1_COLOR_F black = {0.0f, 0.0f, 0.0f, 1.0f};
>
>       FIXME("iface %p stub!\n", iface);
>
> -    return black;
> +    *color = black;
>   }
Shouldn't it return pointer to D2D1_COLOR_F?




More information about the wine-devel mailing list