共用方式為


DMUS_IO_WAVE_PART_HEADER

The DMUS_IO_WAVE_PART_HEADER structure contains data for a Wave Track List.

Syntax

typedef struct _DMUS_IO_WAVE_PART_HEADER {
  long lVolume;
  DWORD  dwVariations;
  DWORD  dwPChannel;
  DWORD  dwLockToPart;
  DWORD  dwFlags; 
  DWORD  dwIndex;
} DMUS_IO_WAVE_PART_HEADER;

Members

lVolume

Gain, in hundredths of a decibel, to apply to all waves in this wave part. This must be a negative value.

dwVariations

Active variations. One bit is set for each active variation.

dwPChannel

Performance channel of the part.

dwLockToPart

Variation lock identifier. Parts with the same value in this member always play the same variation. A value of 0 means that the part plays its variations independently of all other parts.

dwFlags

Flags for managing how variations are chosen, in the lower four bits. See DMUS_VARIATIONT_TYPES.

dwIndex

Index for distinguishing multiple parts on the same performance channel.

Requirements

**  Header:** Dmusicf.h

See Also

© 2004 Microsoft Corporation. All rights reserved.