DirectX SDK

DMUS_MIDI_PMSG

The DMUS_MIDI_PMSG structure contains data for a standard MIDI message not represented by another message type, such as a control change or pitch bend.

typedef struct DMUS_MIDI_PMSGG {
    DMUS_PMSG_PART
    BYTE  bStatus;
    BYTE  bByte1;
    BYTE  bByte2;
    BYTE  bPad[1];
} DMUS_MIDI_PMSG;
DMUS_PMSG_PART
Macro for common message members. See DMUS_PMSG.
bStatus
Standard MIDI status byte.
bByte1
First byte of the MIDI message. Ignored for MIDI messages that do not require it.
bByte2
Second byte of the MIDI message. Ignored for MIDI messages that do not require it.
bPad
Padding to a WORD boundary.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusici.h.

See Also

MIDI Messages, IDirectMusicPerformance::SendPMsg