[PATCH v2 1/2] include: Add xact3wb.h

Alexandre Julliard julliard at winehq.org
Thu Jan 23 09:22:20 CST 2020


Alistair Leslie-Hughes <leslie_alistair at hotmail.com> writes:

> +    struct
> +    {
> +        DWORD wFormatTag     :  2;
> +        DWORD nChannels      :  3;
> +        DWORD nSamplesPerSec : 18;
> +        DWORD wBlockAlign    :  8;
> +        DWORD wBitsPerSample :  1;
> +    } NONAMELESSUNION;

You want DUMMYSTRUCTNAME.

> +    union
> +    {
> +        union
> +        {
> +            DWORD dwFlags  :  4;
> +            DWORD Duration : 28;
> +        } NONAMELESSUNION;
> +        DWORD dwFlagsAndDuration;
> +    };

Same here, plus the inner one doesn't make sense as a union.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list