[PATCH 2/5] windows.media.speech: Add IVectorView<Inspectable*>.
Rémi Bernon
rbernon at codeweavers.com
Wed Mar 30 10:44:55 CDT 2022
On 3/30/22 15:15, Bernhard Kölbl wrote:
> +/*
> + *
> + * IVectorView<Inspectable*>
> + *
> + */
> +
> +struct vector_view_inspectable
> +{
> + IVectorView_IInspectable IVectorView_IInspectable_iface;
> + struct vector_iids iids;
> + LONG ref;
> +
> + UINT32 size;
> + IInspectable *elements[];
> +};
> +
There too, I missed it for the HSTRING view but I think if we're using
flexible arrays now, to add a:
C_ASSERT(sizeof(struct vector_view_inspectable) == offsetof(struct
vector_view_inspectable, elements[0]));
To make sure the array is not misaligned.
--
Rémi Bernon <rbernon at codeweavers.com>
More information about the wine-devel
mailing list