[PATCH 04/11] mfplat: Implement IMFAttributes::{SetItem, GetItem}.

Nikolay Sivov nsivov at codeweavers.com
Fri Dec 28 11:08:51 CST 2018


On 12/28/18 6:42 PM, Jactry Zeng wrote:

> +struct mfattribute
> +{
> +    struct list entry;
> +    GUID key;
> +    PROPVARIANT value;
> +};
> +
>   typedef struct _mfattributes
>   {
>       IMFAttributes IMFAttributes_iface;
>       LONG ref;
> +    CRITICAL_SECTION lock;
> +    struct list attributes;
>   } mfattributes;

Also GetItemByIndex() suggests array would be more appropriate.




More information about the wine-devel mailing list