| Microsoft DirectX 9.0 SDK Update (October 2004) | 
The DMUS_PATTERNT_TYPES enumerated type is used in various command structures to control the way patterns are selected in sequential commands.
Syntax
typedef enum enumDMUS_PATTERNT_TYPES {
  DMUS_PATTERNT_RANDOM       = 0,
  DMUS_PATTERNT_REPEAT       = 1,
  DMUS_PATTERNT_SEQUENTIAL   = 2,
  DMUS_PATTERNT_RANDOM_START = 3,
  DMUS_PATTERNT_NO_REPEAT    = 4,
  DMUS_PATTERNT_RANDOM_ROW   = 5
} DMUS_PATTERNT_TYPES;
Constants
DMUS_PATTERNT_RANDOM
Select a random matching pattern. This is the behavior in versions prior to DirectX 8.0.
DMUS_PATTERNT_REPEAT
Repeat the last matching pattern.
DMUS_PATTERNT_SEQUENTIAL
Play matching patterns sequentially, in the order loaded, starting with the first.
DMUS_PATTERNT_RANDOM_START
Play matching patterns sequentially, in the order loaded, starting at a random point in the sequence.
DMUS_PATTERNT_NO_REPEAT
Play randomly, but do not play the same pattern twice.
DMUS_PATTERNT_RANDOM_ROW
Play randomly, but do not repeat any pattern until all have played.
Requirements
Header: Dmusicf.h
See Also