共用方式為


DMUS_COMMAND_PARAM

The DMUS_COMMAND_PARAM structure is used as the pParam parameter in calls to various get-parameter and set-parameter methods when the track is a command track and the rguidType parameter is GUID_CommandParam.

Syntax

typedef struct {
  BYTE bCommand;
  BYTE bGrooveLevel;
  BYTE bGrooveRange;
  BYTE bRepeatMode;
} DMUS_COMMAND_PARAM;

Members

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 actual groove level could be anywhere from 33 through 37. If bGrooveRange is an odd number, 1 is subtracted from it.

bRepeatMode

Flag that specifies how patterns are selected from among multiple matching patterns. See DMUS_PATTERNT_TYPES.

Requirements

**  Header:** Dmusici.h

See Also

See Also

© 2004 Microsoft Corporation. All rights reserved.