Microsoft DirectX 8.0 (Visual Basic)

DirectMusicPerformance8.GetClockTime

Retrieves the current time.

object.GetClockTime() As Long

Parts

object
Resolves to a DirectMusicPerformance8 object.

Return Values

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

DirectMusicPerformance8.GetMusicTime, Clock Time vs. Music Time