Microsoft DirectX 8.1 (C++)

DMUS_MUTE_PARAM

The DMUS_MUTE_PARAM structure is used as the pParam parameter in calls to the various get-parameter and set-parameter methods when the track is a mute track and rguidType is GUID_MuteParam.

Syntax

typedef struct _DMUS_MUTE_PARAM {
  DWORD  dwPChannel;
  DWORD  dwPChannelMap;
  BOOL fMute;
} DMUS_MUTE_PARAM;

Members

dwPChannel

Performance channel to mute or remap. If the structure is being passed to a get method, this member must be initialized.

dwPChannelMap

Channel to which dwPChannel is being mapped. This member is ignored if fMute is TRUE.

fMute

TRUE if dwPChannel is being muted.

Remarks

If you want all the notes on channel 3 to play on channel 9 instead, set dwPChannel to 3 and dwPChannelMap to 9 before passing the structure to one of the set methods. If you want to mute the notes on PChannel 8, set dwPChannel to 8 and dwPChannelMap to 0xFFFFFFFF.

Requirements

  Header: Declared in dmusicf.h.

See Also