Alistair Leslie-Hughes leslie_alistair@hotmail.com wrote:
+typedef struct WAVEBANKENTRY +{
- union
- {
struct{DWORD dwFlags : 4;DWORD Duration : 28;} DUMMYSTRUCTNAME;DWORD dwFlagsAndDuration;- } NONAMELESSUNION;
- WAVEBANKMINIWAVEFORMAT Format;
- WAVEBANKREGION PlayRegion;
- WAVEBANKSAMPLEREGION LoopRegion;
+} WAVEBANKENTRY;
This one still uses NONAMELESSUNION instead of DUMMYUNIONNAME.