[PATCH 1/5] widl: Handle aggregate returns in a MSVC compatible way.
Alexandre Julliard
julliard at winehq.org
Fri Sep 5 09:06:18 CDT 2014
Henri Verbeet <hverbeet at gmail.com> writes:
> On 5 September 2014 16:03, Piotr Caban <piotr.caban at gmail.com> wrote:
>> 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?
>>
> Not as far as I'm aware.
Yes, it should.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list