Platform SDK: DirectX |
The DirectMusicPerformance.GetClockTime method retrieves the current time.
object.GetClockTime() As Long
If the method succeeds, it returns the time, in units of approximately 1 millisecond, relative to an arbitrary start time.
If the method fails, it raises an error, and Err.Number can be set to DMUS_E_NO_MASTER_CLOCK.
DirectMusicPerformance.GetMusicTime, Clock Time vs. Music Time