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