DirectX SDK |
The IDirectMusicPerformance::Invalidate method flushes all queued messages from the supplied time forward and causes all tracks of all segments to resend their data from the given time forward.
HRESULT Invalidate( MUSIC_TIME mtTime, DWORD dwFlags );
DMUS_SEGF_MEASURE
DMUS_SEGF_BEAT
DMUS_SEGF_GRID
If the method succeeds, the return value is S_OK.
If it fails, the method can return 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.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.