Platform SDK: DirectX

DirectMusicSegment.SetTempoEnable

The DirectMusicSegment.SetTempoEnable method enables or disables tempo messages for the segment.

object.SetTempoEnable(b As Boolean)

Parameters

object
Object expression that resolves to a DirectMusicSegment object.
b
True to enable tempo messages, or False to disable them.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to one of the following values:

DMUS_E_SET_UNSUPPORTED
DMUS_E_TRACK_NOT_FOUND