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.