Microsoft DirectX 8.1 (Visual Basic)

DirectMusicPerformance8.GetMusicTime

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

object.GetMusicTime() As Long

Parts

object

Resolves to a DirectMusicPerformance8 object.

Return Values

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