Platform SDK: DirectX

DirectMusicPerformance.GetClockTime

The DirectMusicPerformance.GetClockTime method retrieves the current time.

object.GetClockTime() As Long

Parameters

object
Object expression that resolves to a DirectMusicPerformance object.

Return Values

If the method succeeds, it returns the time, in units of approximately 1 millisecond, relative to an arbitrary start time.

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.GetMusicTime, Clock Time vs. Music Time