Platform SDK: DirectX

DirectMusicStyle.GetTempo

The DirectMusicStyle.GetTempo method retrieves the recommended tempo of the style.

object.GetTempo() As Double

Parameters

object
Object expression that resolves to a DirectMusicStyle object.

Return Values

If the method succeeds, it returns the recommended tempo, in beats per minute.

Error Codes

If the method fails, it raises an error, and Err.Number is set.