Microsoft DirectX 9.0 SDK Update (October 2004)

DMUS_PATCH_PMSG

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

Syntax

typedef struct DMUS_PATCH_PMSG {
  DMUS_PMSG_PART
  BYTE  byInstrument;
  BYTE  byMSB;
  BYTE  byLSB;
  BYTE  byPad[1];
} DMUS_PATCH_PMSG;

Members

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

  Header: Dmusici.h

See Also


© 2004 Microsoft Corporation. All rights reserved.