次の方法で共有


DMUS_EVENTHEADER

The DMUS_EVENTHEADER structure precedes and describes an event in a port buffer.

Syntax

  typedef struct _DMUS_EVENTHEADER {
  DWORD     cbEvent;
  DWORD     dwChannelGroup;
  REFERENCE_TIME  rtDelta;
  DWORD     dwFlags;
} DMUS_EVENTHEADER, *LPDMUS_EVENTHEADER;

Members

cbEvent

Number of bytes in the event.

dwChannelGroup

Group to which the event belongs.

rtDelta

Offset from the start time of the buffer.

dwFlags

Set to DMUS_EVENT_STRUCTURED if the event is parsable MIDI data.

Remarks

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.

Requirements

**  Minimum Supported Client:** Windows 2000.
**  Minimum Supported Server:** Windows 2000 Server.

**  Header:** Dmusbuff.h

See Also

© 2004 Microsoft Corporation. All rights reserved.