DirectX SDK

DMUS_COMMAND_PARAM2

The DMUS_COMMAND_PARAM2 structure is used as the pParam parameter in calls to various GetParam and SetParam methods when the track is a command track and the rguidType parameter is GUID_CommandParam2.

typedef struct {
    MUSIC_TIME mtTime;
    BYTE bCommand;
    BYTE bGrooveLevel;
    BYTE bGrooveRange;
} DMUS_COMMAND_PARAM2;

Members

mtTime
Time of the command.
bCommand
Command type. See DMUS_COMMANDT_TYPES.
bGrooveLevel
Groove level of the command. The groove level is a value in the range from 1 through 100.
bGrooveRange
Amount by which the groove level can be randomized. For instance, if the groove level is 35 and the range is 4, the groove level could be anywhere from 33 through 37. Not currently implemented.

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 dmusicf.h.

See Also

IDirectMusicPerformance::GetParam, IDirectMusicPerformance::SetParam, IDirectMusicSegment::GetParam, IDirectMusicSegment::SetParam, IDirectMusicTrack::GetParam, IDirectMusicTrack::SetParam