Microsoft DirectX 8.1 (Visual Basic)

DirectMusicSegment8.SetTempoEnable

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

object.SetTempoEnable(b As Boolean)

Parts

object

Resolves to a DirectMusicSegment8 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