共用方式為


DMUS_PMSGT_TYPES

The DMUS_PMSGT_TYPES enumerated type is used in the dwType member of the DMUS_PMSG structure to identify the type of message.

Syntax

typedef enum enumDMUS_PMSGT_TYPES {
  DMUS_PMSGT_MIDI     = 0,
  DMUS_PMSGT_NOTE     = 1,
  DMUS_PMSGT_SYSEX    = 2,
  DMUS_PMSGT_NOTIFICATION   = 3,
  DMUS_PMSGT_TEMPO    = 4,
  DMUS_PMSGT_CURVE    = 5,
  DMUS_PMSGT_TIMESIG    = 6,
  DMUS_PMSGT_PATCH    = 7,
  DMUS_PMSGT_TRANSPOSE    = 8,
  DMUS_PMSGT_CHANNEL_PRIORITY = 9,
  DMUS_PMSGT_STOP     = 10,
  DMUS_PMSGT_DIRTY    = 11,
  DMUS_PMSGT_WAVE     = 12,
  DMUS_PMSGT_LYRIC    = 13,
  DMUS_PMSGT_SCRIPTLYRIC  = 14,
  DMUS_PMSGT_USER     = 255
} DMUS_PMSGT_TYPES;

Constants

DMUS_PMSGT_MIDI

MIDI channel message. See DMUS_MIDI_PMSG.

DMUS_PMSGT_NOTE

Music note. See DMUS_NOTE_PMSG.

DMUS_PMSGT_SYSEX

MIDI system exclusive message. See DMUS_SYSEX_PMSG.

DMUS_PMSGT_NOTIFICATION

Notification message. See DMUS_NOTIFICATION_PMSG.

DMUS_PMSGT_TEMPO

Tempo message. See DMUS_TEMPO_PMSG.

DMUS_PMSGT_CURVE

Control change and pitch-bend curve. See DMUS_CURVE_PMSG.

DMUS_PMSGT_TIMESIG

Time signature. See DMUS_TIMESIG_PMSG.

DMUS_PMSGT_PATCH

Patch change. See DMUS_PATCH_PMSG.

DMUS_PMSGT_TRANSPOSE

Transposition. See DMUS_TRANSPOSE_PMSG.

DMUS_PMSGT_CHANNEL_PRIORITY

Channel priority change. See DMUS_CHANNEL_PRIORITY_PMSG.

DMUS_PMSGT_STOP

Stop message. See DMUS_PMSG.

DMUS_PMSGT_DIRTY

A control segment has started or ended. See DMUS_PMSG.

DMUS_PMSGT_WAVE

Control information for playing a waveform. See DMUS_WAVE_PMSG.

DMUS_PMSGT_LYRIC

Lyric message. See DMUS_LYRIC_PMSG.

DMUS_PMSGT_SCRIPTLYRIC

Lyric message sent by a script. See DMUS_LYRIC_PMSG.

DMUS_PMSGT_USER

User-defined message.

Requirements

**  Header:** Dmusici.h

See Also

© 2004 Microsoft Corporation. All rights reserved.