Platform SDK: DirectX

DMUS_PATCH_PMSG

The DMUS_PATCH_PMSG structure contains data for a program-change message.

typedef struct DMUS_PATCH_PMSG {
    DMUS_PMSG_PART
    BYTE  byInstrument;
    BYTE  byMSB;
    BYTE  byLSB;
    BYTE  byPad[1];
} DMUS_PATCH_PMSG;
DMUS_PMSG_PART
Macro for common message members. See DMUS_PMSG.
byInstrument
Patch number of the instrument.
byMSB
Most significant byte of bank select.
byLSB
Least significant byte of bank select.
byPad
Padding to a WORD boundary. This value is ignored.

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

DMUS_MIDI_PMSG, IDirectMusicPerformance::SendPMsg, MIDI Messages