Platform SDK: DirectX

DMUS_IO_PARTREF

The DMUS_IO_PARTREF structure contains information about a part reference. It is used in the Style Form.

typedef struct _DMUS_IO_PARTREF {
    GUID  guidPartID;
    WORD  wLogicalPartID;
    BYTE  bVariationLockID;
    BYTE  bSubChordLevel;
    BYTE  bPriority;
    BYTE  bRandomVariation; 
} DMUS_IO_PARTREF;
guidPartID
Identifier of the part.
wLogicalPartID
Identifier corresponding to a particular MIDI channel on a port.
bVariationLockID
Parts with the same value in this member always play the same variation.
bSubChordLevel
Subchord level that this part wants. See Remarks.
bPriority
Priority of the part. For information on priorities, see Channels.
bRandomVariation
When set, matching variations play in random order. When clear, matching variations play sequentially.

Remarks

The bSubChordLevel member contains a zero-based index value. At run time, 1 is shifted left by this value to yield a 1-bit value for comparison with the dwLevels member of a DMUS_SUBCHORD structure. Thus, a part with a bSubChordLevel of 0 would be mapped to any subchord that contained 1 in dwLevels.

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.