Microsoft DirectX 8.0 (C++) |
Adjusts the internal performance time forward or backward. This is mostly used to compensate for drift when synchronizing to another source.
HRESULT AdjustTime( REFERENCE_TIME rtAmount );
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_INVALIDARG.
The adjusted time is used internally by DirectMusic. It is not reflected in the time retrieved by the IDirectMusicPerformance8::GetTime method.
Header: Declared in dmusici.h.