Microsoft DirectX 8.0 (C++)

DMUS_MUTE_PARAM

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.

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 wanted all the notes on PChannel 3 to play on PChannel 9 instead, you would set dwPChannel to 3 and dwPChannelMap to 9 before passing the structure to one of the set methods. If you wanted to mute the notes on PChannel 8, you would set dwPChannel to 8 and dwPChannelMap to 0xFFFFFFFF.

Requirements

  Header: Declared in dmusicf.h.

See Also

IDirectMusicPerformance8::GetParam, IDirectMusicPerformance8::SetParam, IDirectMusicSegment8::GetParam, IDirectMusicSegment8::SetParam, IDirectMusicTrack8::GetParamEx, IDirectMusicTrack8::SetParamEx