DMUS_IO_STYLECURVE
The DMUS_IO_STYLECURVE structure contains information about a curve in a style. It is used in the Style Form.
typedef struct _DMUS_IO_STYLECURVE {
MUSIC_TIME mtGridStart;
DWORD dwVariation;
MUSIC_TIME mtDuration;
MUSIC_TIME mtResetDuration;
short nTimeOffset;
short nStartValue;
short nEndValue;
short nResetValue;
BYTE bEventType;
BYTE bCurveShape;
BYTE bCCData;
BYTE bFlags;
} DMUS_IO_STYLECURVE;
- mtGridStart
- Start time of the grid in which the curve occurs.
- dwVariation
- Variations that this curve belongs to. Each bit corresponds to one of 32 variations.
- mtDuration
- Duration of the curve.
- mtResetDuration
- How long after the curve is finished until the reset value is set.
- nTimeOffset
- Offset from mtGridStart at which the curve occurs.
- nStartValue
- Start value.
- nEndValue
- End value.
- nResetValue
- Reset value, set after mtResetDuration or upon a flush or invalidation.
- bEventType
- Type of curve. See DMUS_IO_CURVE_ITEM.
- bCurveShape
- Shape of curve. See DMUS_IO_CURVE_ITEM.
- bCCData
- CC number if this is a control change type.
- bFlags
- Set to DMUS_CURVE_RESET if the nResetValue must be set when the time is reached or an invalidation occurs because of a transition. If 0, the curve stays permanently at the new value. All other bits are reserved.
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
DMUS_CURVE_PMSG, DMUS_IO_CURVE_ITEM