Microsoft DirectX 8.1 (Visual Basic)

DirectMusicPerformance8.GetClockTime

The GetClockTime method 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