Platform SDK: DirectX

DirectMusicPerformance.GetMusicTime

The DirectMusicPerformance.GetMusicTime method returns the current time of the performance, in music time.

object.GetMusicTime() As Long

Parameters

object
Object expression that resolves to a DirectMusicPerformance object.

Return Values

If the method succeeds, it returns the current time, in music time units.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to DMUS_E_NO_MASTER_CLOCK.

See Also

DirectMusicPerformance.GetClockTime, Clock Time vs. Music Time