DirectX SDK |
The DirectMusicPerformance.Invalidate method flushes all queued messages whose time stamps are later than the supplied time and causes all tracks of all segments to resend their data from the given time forward.
object.Invalidate(mtTime As Long, flags As Long)
DMUS_SEGF_MEASURE
DMUS_SEGF_BEAT
DMUS_SEGF_GRID
If the method fails, it raises an error, and Err.Number can be set to DMUS_E_NO_MASTER_CLOCK.
If mtTime is so long ago that it is impossible to invalidate that time, the earliest possible time is used.