xref: /reactos/sdk/include/dxsdk/dmusbuff.h (revision 84ccccab)
1 #ifndef _DMusBuff_
2 #define _DMusBuff_
3 
4 #define DMUS_EVENT_STRUCTURED       0x00000001
5 #define QWORD_ALIGN(x)              (((x) + 7) & ~7)
6 #define DMUS_EVENT_SIZE(cb)         QWORD_ALIGN(sizeof(DMUS_EVENTHEADER) + cb)
7 
8 #include <pshpack4.h>
9 typedef struct _DMUS_EVENTHEADER
10 {
11   DWORD             cbEvent;
12   DWORD             dwChannelGroup;
13   REFERENCE_TIME    rtDelta;
14   DWORD             dwFlags;
15 } DMUS_EVENTHEADER, *LPDMUS_EVENTHEADER;
16 #include <poppack.h>
17 
18 #endif
19 
20