Microsoft DirectX 8.0 (C++) |
Precedes and describes an event in a port buffer.
typedef struct _DMUS_EVENTHEADER { DWORD cbEvent; DWORD dwChannelGroup; REFERENCE_TIME rtDelta; DWORD dwFlags; } DMUS_EVENTHEADER, *LPDMUS_EVENTHEADER;
The Pshpack4.h header file is included before the declaration of this structure to turn off automatic alignment of structures so that the data immediately follows the header. (For more information, see the comments in Pshpack4.h.) Poppack.h is then included to turn alignment back on, and the entire structure (header plus event) is padded to an 8-byte boundary.
Header: Declared in dmusbuff.h.
IDirectMusicBuffer8::GetNextEvent, IDirectMusicBuffer8::PackStructured, IDirectMusicBuffer8::PackUnstructured